Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001064/0.001064, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001054/0.001054, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9543/0.9543, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001614/0.001614, allocations: 247 kB / 260.5 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7714/0.7714, allocations: 138.4 MB / 455.5 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.47e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002901/0.002926, allocations: 1.835 MB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.00398, allocations: 0.5648 MB / 0.5579 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004095, allocations: 3.938 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.004256, allocations: 31.67 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.004339, allocations: 23.73 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.004589, allocations: 79.78 kB / 0.5581 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.004826, allocations: 175.4 kB / 0.5582 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004963, allocations: 33.78 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.005098, allocations: 83.78 kB / 0.5583 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.00517, allocations: 43.81 kB / 0.5584 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.005195, allocations: 8 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.005211, allocations: 12 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.005243, allocations: 27.91 kB / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.005287, allocations: 35.86 kB / 0.5585 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.005436, allocations: 103.5 kB / 0.5586 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005438, allocations: 4 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005439, allocations: 4 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005443, allocations: 0 / 0.5586 GB, free: 12.76 MB / 490.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.0005233/0.005966, allocations: 0.5186 MB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006003, allocations: 9.938 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.006052, allocations: 32.84 kB / 0.5591 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.00624, allocations: 188.2 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006253, allocations: 8.375 kB / 0.5593 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.006276, allocations: 12.38 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.00646, allocations: 149.2 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006469, allocations: 192 / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.006481, allocations: 8.375 kB / 0.5595 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.006489, allocations: 7.922 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.00654, allocations: 35.84 kB / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.007158, allocations: 0.8589 MB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.572e-05/0.007213, allocations: 38.98 kB / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.007237, allocations: 15.69 kB / 0.5604 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.007257, allocations: 4 kB / 0.5604 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.007389, allocations: 115.9 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.00739, allocations: 0 / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002013/0.007592, allocations: 109.6 kB / 0.5606 GB, free: 10.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.007647, allocations: 128.8 kB / 0.5607 GB, free: 10.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.007785, allocations: 248.3 kB / 0.561 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.007799, allocations: 25.7 kB / 0.561 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.007885, allocations: 182.6 kB / 0.5612 GB, free: 9.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.007912, allocations: 43.62 kB / 0.5612 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.007966, allocations: 43.34 kB / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.008103, allocations: 0.5001 MB / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.00813, allocations: 12 kB / 0.5618 GB, free: 9.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.008234, allocations: 173.5 kB / 0.5619 GB, free: 8.977 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.008403, allocations: 202.4 kB / 0.5621 GB, free: 8.707 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.008407, allocations: 4 kB / 0.5621 GB, free: 8.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002119/0.008619, allocations: 157.6 kB / 0.5623 GB, free: 8.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.008637, allocations: 18.47 kB / 0.5623 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.008644, allocations: 4 kB / 0.5623 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008657, allocations: 4 kB / 0.5623 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.008761, allocations: 35.92 kB / 0.5623 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.008769, allocations: 8 kB / 0.5623 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.00886, allocations: 23.88 kB / 0.5624 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.008873, allocations: 11.98 kB / 0.5624 GB, free: 8.441 MB / 490.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.66e-05/0.008969, allocations: 181.2 kB / 0.5626 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.008999, allocations: 23.84 kB / 0.5626 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.009037, allocations: 21.45 kB / 0.5626 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.009041, allocations: 8 kB / 0.5626 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.009043, allocations: 3.938 kB / 0.5626 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.009049, allocations: 4 kB / 0.5626 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.009529, allocations: 481.3 kB / 0.5631 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.009532, allocations: 4.219 kB / 0.5631 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.009606, allocations: 15.98 kB / 0.5631 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009609, allocations: 0 / 0.5631 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.009622, allocations: 4 kB / 0.5631 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009624, allocations: 0 / 0.5631 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.009629, allocations: 7.938 kB / 0.5631 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.009888, allocations: 397.6 kB / 0.5635 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.00991, allocations: 15.84 kB / 0.5635 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.009929, allocations: 7.938 kB / 0.5635 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.01007, allocations: 11.98 kB / 0.5635 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.01011, allocations: 19.92 kB / 0.5635 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01012, allocations: 0 / 0.5635 GB, free: 7.191 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.01021, allocations: 167.1 kB / 0.5637 GB, free: 7.027 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 0 / 0.5637 GB, free: 7.027 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.01055, allocations: 31.94 kB / 0.5637 GB, free: 6.996 MB / 490.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.0001142/0.01066, allocations: 103.2 kB / 0.5638 GB, free: 6.887 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.0108, allocations: 79.44 kB / 0.5639 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0108, allocations: 0 / 0.5639 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.01085, allocations: 36.67 kB / 0.5639 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.01135, allocations: 67.38 kB / 0.564 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01182, allocations: 329.8 kB / 0.5643 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.01188, allocations: 75.92 kB / 0.5644 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.01194, allocations: 21.48 kB / 0.5644 GB, free: 6.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01206, allocations: 106.2 kB / 0.5645 GB, free: 6.121 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01206, allocations: 0 / 0.5645 GB, free: 6.121 MB / 490.7 MB Notification: Performance of Templates: time 0.004794/0.01685, allocations: 2.334 MB / 0.5668 GB, free: 3.859 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5769515209831297]