Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.0006736/0.0006736, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009333/0.001607, 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.0006693/0.0006693, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008583/0.001528, 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.033/1.033, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09378/1.127, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8487/0.8487, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.3507/1.199, allocations: 49.03 MB / 447.8 MB, free: 6.562 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/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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.837e-05, allocations: 6.891 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003957/0.003986, allocations: 1.883 MB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.005289, allocations: 0.5776 MB / 451.6 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.005418, allocations: 7.938 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.005527, allocations: 27.12 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.005597, allocations: 33.03 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.005762, allocations: 68.56 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.005961, allocations: 174 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.006097, allocations: 35.92 kB / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.006251, allocations: 91.78 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.006327, allocations: 47.75 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.006357, allocations: 8 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.006375, allocations: 12.66 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.006404, allocations: 19.88 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.006449, allocations: 33.34 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.006605, allocations: 95.48 kB / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.006619, allocations: 0 / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.006621, allocations: 0 / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.006635, allocations: 0.75 kB / 452.3 MB, free: 2.176 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005709/0.007206, allocations: 393.2 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.007241, allocations: 8.031 kB / 452.7 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.007289, allocations: 24.91 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.007686, allocations: 169.4 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.007706, allocations: 8.375 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.007739, allocations: 21.27 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.007914, allocations: 135.1 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007924, allocations: 2.719 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.007934, allocations: 4.375 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.007942, allocations: 7.938 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.00799, allocations: 31.92 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.008631, allocations: 0.5662 MB / 453.6 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.008704, allocations: 30.5 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.008726, allocations: 12.86 kB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.008748, allocations: 4.688 kB / 453.7 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.008881, allocations: 100.4 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.008883, allocations: 4 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001752/0.009058, allocations: 87.69 kB / 453.9 MB, free: 468 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.009123, allocations: 136.5 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.009238, allocations: 192.1 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.009255, allocations: 29.7 kB / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.00934, allocations: 127.8 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.009366, allocations: 32.84 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.009412, allocations: 49.62 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.009498, allocations: 326.8 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.009524, allocations: 13.14 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.009595, allocations: 118.6 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.009717, allocations: 163.8 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.00972, allocations: 0 / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000143/0.009863, allocations: 136.4 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.00988, allocations: 12.44 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.009885, allocations: 4.688 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.009904, allocations: 4 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.009999, allocations: 40.55 kB / 455.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01001, allocations: 12.48 kB / 455.2 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.01007, allocations: 23.88 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01009, allocations: 12.62 kB / 455.3 MB, free: 14.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.352e-05/0.01018, allocations: 124.1 kB / 455.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.0102, allocations: 16.92 kB / 455.4 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.01024, allocations: 21.41 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01024, allocations: 1.719 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.01025, allocations: 4 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01026, allocations: 3.984 kB / 455.4 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.01061, allocations: 346.2 kB / 455.8 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01061, allocations: 4 kB / 455.8 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.01067, allocations: 16.83 kB / 455.8 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.01069, allocations: 23.8 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01069, allocations: 4.938 kB / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01071, allocations: 4 kB / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.01071, allocations: 4.859 kB / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01071, allocations: 0 / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01091, allocations: 278.6 kB / 456.1 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01093, allocations: 7.984 kB / 456.1 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.011, allocations: 8 kB / 456.1 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.01104, allocations: 11.97 kB / 456.1 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.01105, allocations: 9.375 kB / 456.1 MB, free: 13.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.01109, allocations: 49.84 kB / 456.2 MB, free: 13.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01109, allocations: 0 / 456.2 MB, free: 13.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01131, allocations: 29.75 kB / 456.2 MB, free: 13.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001255/0.01143, allocations: 84.41 kB / 456.3 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.01158, allocations: 78.98 kB / 456.4 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.01159, allocations: 0.9062 kB / 456.4 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.01165, allocations: 38.48 kB / 456.4 MB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.01209, allocations: 407.2 kB / 456.8 MB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.01279, allocations: 334 kB / 457.1 MB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.01284, allocations: 79.92 kB / 457.2 MB, free: 12.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.01291, allocations: 25.88 kB / 457.3 MB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01302, allocations: 84.78 kB / 457.3 MB, free: 12.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01302, allocations: 0 / 457.3 MB, free: 12.66 MB / 442.7 MB Notification: Performance of Templates: time 0.004944/0.01796, allocations: 2.192 MB / 459.5 MB, free: 10.66 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7826948007568717]