Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.001988, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002886, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.076/1.076, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09066/1.167, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 155.4 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2892/1.044, allocations: 49.13 MB / 448.6 MB, free: 5.875 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 450 MB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.569e-05, allocations: 5.203 kB / 450 MB, free: 4.5 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002248/0.002273, allocations: 0.6567 MB / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.003882, allocations: 1.171 MB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.003902, allocations: 1.344 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.24e-06/0.003907, allocations: 1.094 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.004052, allocations: 19.88 kB / 451.9 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.004055, allocations: 0.6562 kB / 451.9 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.004101, allocations: 9.969 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.004145, allocations: 5.078 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.004177, allocations: 5.922 kB / 451.9 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.004217, allocations: 5.094 kB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.004226, allocations: 0 / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.00435, allocations: 18.22 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.004362, allocations: 0.5469 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.098e-05/0.004373, allocations: 1.438 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.602e-05/0.004469, allocations: 12.81 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.004482, allocations: 1.031 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004483, allocations: 0 / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.004493, allocations: 1.094 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00024/0.004733, allocations: 229.7 kB / 452.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.004767, allocations: 8.031 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.005085, allocations: 99.98 kB / 452.3 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.005165, allocations: 101.8 kB / 452.4 MB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005177, allocations: 1.406 kB / 452.4 MB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.0052, allocations: 4.375 kB / 452.4 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.005285, allocations: 34.25 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005295, allocations: 0.75 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.005304, allocations: 2.094 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005311, allocations: 3.938 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.409e-05/0.005345, allocations: 17.75 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.005441, allocations: 60.98 kB / 452.5 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.005594, allocations: 26.61 kB / 452.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.00561, allocations: 11.09 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.005625, allocations: 0 / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.005653, allocations: 34.56 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.005654, allocations: 1.031 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.001241/0.006895, allocations: 246.1 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.006929, allocations: 52.69 kB / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/0.006964, allocations: 93.8 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.006982, allocations: 26.64 kB / 453 MB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.007009, allocations: 88.12 kB / 453.1 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.00706, allocations: 17.42 kB / 453.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.00712, allocations: 21.64 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.007215, allocations: 315.5 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.00726, allocations: 1.906 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.007318, allocations: 36.42 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.007421, allocations: 34.53 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007423, allocations: 0 / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/0.007575, allocations: 58.38 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.007592, allocations: 4.766 kB / 453.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.0076, allocations: 4 kB / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.007614, allocations: 0 / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.007854, allocations: 34.62 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007859, allocations: 4 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.007996, allocations: 22.16 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.008016, allocations: 8.594 kB / 453.6 MB, free: 0.8281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.008093, allocations: 112 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.008116, allocations: 0 / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.008168, allocations: 16.66 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008171, allocations: 0 / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.008173, allocations: 192 / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.008179, allocations: 6.797 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.008519, allocations: 210.4 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008521, allocations: 0 / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.008737, allocations: 34.41 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.008746, allocations: 4 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.008749, allocations: 0.7656 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.008762, allocations: 5.062 kB / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.008765, allocations: 0 / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.008768, allocations: 3.984 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.008957, allocations: 147.9 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.008976, allocations: 0 / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.009153, allocations: 22.05 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.009168, allocations: 8.594 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.00918, allocations: 0 / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of sorting global known variables: time 8.005e-06/0.009188, allocations: 5.609 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009188, allocations: 0 / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.00941, allocations: 8.719 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.009537, allocations: 87.47 kB / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.009693, allocations: 33.58 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.009699, allocations: 3.984 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.009769, allocations: 21.05 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.009943, allocations: 16.8 kB / 454.3 MB, free: 60 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.01035, allocations: 123.4 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01039, allocations: 55.22 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.01058, allocations: 34.75 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.0107, allocations: 55.36 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0107, allocations: 0 / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of Templates: time 0.002989/0.01369, allocations: 0.8876 MB / 455.5 MB, free: 14.94 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6208228627219796]