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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 195.2 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 292.2 kB / 307.1 MB, free: 8.453 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.222/1.222, allocations: 180.8 MB / 0.5304 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002836/0.002836, allocations: 104.7 kB / 0.7311 GB, free: 38.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1713, allocations: 94.21 MB / 0.8231 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003145/0.1744, allocations: 1.846 MB / 0.8249 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1755, allocations: 0.5454 MB / 0.8254 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1756, allocations: 3.938 kB / 0.8254 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1758, allocations: 27.73 kB / 0.8255 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.1758, allocations: 27.72 kB / 0.8255 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1761, allocations: 71.86 kB / 0.8256 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1763, allocations: 175.5 kB / 0.8257 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1765, allocations: 41.7 kB / 0.8258 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.1766, allocations: 55.72 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1767, allocations: 63.62 kB / 0.8259 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1767, allocations: 12 kB / 0.8259 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1767, allocations: 8 kB / 0.8259 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.1767, allocations: 23.92 kB / 0.8259 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.1768, allocations: 67.55 kB / 0.826 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.177, allocations: 151.2 kB / 0.8261 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.177, allocations: 0 / 0.8261 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.177, allocations: 0 / 0.8261 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1771, allocations: 0 / 0.8261 GB, free: 14.91 MB / 0.5762 GB 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.0008005/0.1779, allocations: 431.1 kB / 0.8266 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1779, allocations: 8.031 kB / 0.8266 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1779, allocations: 20.84 kB / 0.8266 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1782, allocations: 166.2 kB / 0.8267 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1782, allocations: 16.31 kB / 0.8268 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1783, allocations: 12.38 kB / 0.8268 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1786, allocations: 160.6 kB / 0.8269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1786, allocations: 0 / 0.8269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1786, allocations: 0 / 0.8269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1786, allocations: 4 kB / 0.8269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.1789, allocations: 79.83 kB / 0.827 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.1798, allocations: 0.7073 MB / 0.8277 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.18, allocations: 42.55 kB / 0.8277 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1801, allocations: 32.83 kB / 0.8278 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1801, allocations: 0 / 0.8278 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.1804, allocations: 130.7 kB / 0.8279 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1804, allocations: 0 / 0.8279 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005036/0.1809, allocations: 165.4 kB / 0.828 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.181, allocations: 140.7 kB / 0.8282 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1812, allocations: 200.2 kB / 0.8284 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.1812, allocations: 29.7 kB / 0.8284 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1813, allocations: 131.9 kB / 0.8285 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1813, allocations: 35.73 kB / 0.8286 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.1814, allocations: 41.7 kB / 0.8286 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1816, allocations: 326.8 kB / 0.8289 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1817, allocations: 40.22 kB / 0.8289 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1819, allocations: 147.4 kB / 0.8291 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.1823, allocations: 206.3 kB / 0.8293 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1823, allocations: 0 / 0.8293 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004047/0.1827, allocations: 209.3 kB / 0.8295 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1827, allocations: 11.98 kB / 0.8295 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1827, allocations: 4 kB / 0.8295 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1828, allocations: 4 kB / 0.8295 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1829, allocations: 31.92 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1829, allocations: 7.984 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.183, allocations: 32.22 kB / 0.8296 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1831, allocations: 12 kB / 0.8296 GB, free: 11.02 MB / 0.5762 GB 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,intDef.trigger_internal,intNoReset.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 0.0001318/0.1832, allocations: 146.2 kB / 0.8297 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1832, allocations: 15.91 kB / 0.8297 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.1833, allocations: 21.41 kB / 0.8298 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1833, allocations: 3.984 kB / 0.8298 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1833, allocations: 0 / 0.8298 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1833, allocations: 4.234 kB / 0.8298 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.1841, allocations: 0.4888 MB / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1841, allocations: 0 / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1842, allocations: 15.98 kB / 0.8303 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.1842, allocations: 7.984 kB / 0.8303 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1842, allocations: 4 kB / 0.8303 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1842, allocations: 4 kB / 0.8303 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1842, allocations: 3.938 kB / 0.8303 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.1848, allocations: 364.1 kB / 0.8306 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.1848, allocations: 19.84 kB / 0.8306 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1849, allocations: 8 kB / 0.8307 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.185, allocations: 12.03 kB / 0.8307 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1851, allocations: 19.91 kB / 0.8307 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1851, allocations: 4 kB / 0.8307 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001297/0.1852, allocations: 139.4 kB / 0.8308 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1852, allocations: 7.938 kB / 0.8308 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003342/0.1856, allocations: 24 kB / 0.8308 GB, free: 9.641 MB / 0.5762 GB 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.000158/0.1857, allocations: 110.1 kB / 0.831 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1861, allocations: 107.8 kB / 0.8311 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1861, allocations: 5 kB / 0.8311 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1862, allocations: 56.09 kB / 0.8311 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.1868, allocations: 63.25 kB / 0.8312 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.1875, allocations: 352.6 kB / 0.8315 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.1879, allocations: 0.7242 MB / 0.8322 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.713e-05/0.188, allocations: 21.61 kB / 0.8322 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.1881, allocations: 19.44 kB / 0.8323 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.1881, allocations: 0 / 0.8323 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of Templates: time 0.005692/0.1938, allocations: 2.123 MB / 0.8343 GB, free: 6.043 MB / 0.5762 GB " [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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.026818073121831] Failed to read output from testmodel.py, exit status != 0: 0.20175442309118807 0.21645175899999994 0.036498634 Calling exit ...