Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001478/0.001478, allocations: 210.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.002653/0.002653, allocations: 285.5 kB / 312.7 MB, free: 2.629 MB / 238.1 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 1.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 109.2 kB / 0.74 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.154, allocations: 95.38 MB / 0.8331 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005422/0.1594, allocations: 3.75 MB / 0.8368 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1617, allocations: 1.332 MB / 0.8381 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.162, allocations: 35.81 kB / 0.8381 GB, free: 2.719 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1623, allocations: 130.7 kB / 0.8382 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.1627, allocations: 182.4 kB / 0.8384 GB, free: 2.41 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.1635, allocations: 417.5 kB / 0.8388 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009788/0.1645, allocations: 0.9554 MB / 0.8397 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.165, allocations: 290.6 kB / 0.84 GB, free: 0.7383 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.1653, allocations: 346.7 kB / 0.8403 GB, free: 408 kB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.1657, allocations: 290.4 kB / 0.8406 GB, free: 116 kB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1658, allocations: 92 kB / 0.8407 GB, free: 24 kB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.166, allocations: 92.05 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1661, allocations: 183.3 kB / 0.841 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.1664, allocations: 306.5 kB / 0.8413 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1675, allocations: 1.074 MB / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1675, allocations: 0 / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1675, allocations: 0 / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.1675, allocations: 0 / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001885/0.1694, allocations: 1.08 MB / 0.8434 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1694, allocations: 9.938 kB / 0.8434 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1695, allocations: 96.38 kB / 0.8435 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.1705, allocations: 0.496 MB / 0.8439 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.1706, allocations: 41.69 kB / 0.844 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1707, allocations: 60.38 kB / 0.844 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1718, allocations: 0.6658 MB / 0.8447 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.1719, allocations: 4 kB / 0.8447 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.1719, allocations: 27.94 kB / 0.8447 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1719, allocations: 12 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.173, allocations: 457 kB / 0.8452 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.1758, allocations: 1.694 MB / 0.8468 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.1768, allocations: 422.2 kB / 0.8472 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.1772, allocations: 226.1 kB / 0.8474 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1773, allocations: 8.422 kB / 0.8474 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.1778, allocations: 261.3 kB / 0.8477 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.1778, allocations: 0 / 0.8477 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001369/0.1792, allocations: 0.5807 MB / 0.8483 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1792, allocations: 59.83 kB / 0.8483 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.1797, allocations: 434.5 kB / 0.8487 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.1798, allocations: 41.64 kB / 0.8488 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.18, allocations: 332.8 kB / 0.8491 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1802, allocations: 174.5 kB / 0.8493 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1803, allocations: 90.34 kB / 0.8493 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1805, allocations: 370.7 kB / 0.8497 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.1809, allocations: 190.9 kB / 0.8499 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.1814, allocations: 276.4 kB / 0.8501 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.1823, allocations: 455 kB / 0.8506 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1823, allocations: 0 / 0.8506 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001132/0.1835, allocations: 0.5902 MB / 0.8512 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.1835, allocations: 36.05 kB / 0.8512 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.1835, allocations: 7.938 kB / 0.8512 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1835, allocations: 4 kB / 0.8512 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.184, allocations: 120.1 kB / 0.8513 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.184, allocations: 4 kB / 0.8513 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1844, allocations: 59.64 kB / 0.8514 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.1844, allocations: 16 kB / 0.8514 GB, free: 4.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.00027/0.1847, allocations: 216.6 kB / 0.8516 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.1847, allocations: 55.62 kB / 0.8517 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1849, allocations: 65.38 kB / 0.8517 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1849, allocations: 12 kB / 0.8517 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1849, allocations: 0 / 0.8517 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1849, allocations: 3.984 kB / 0.8517 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1867, allocations: 0.9983 MB / 0.8527 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1867, allocations: 3.938 kB / 0.8527 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.1872, allocations: 91.88 kB / 0.8528 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1872, allocations: 4 kB / 0.8528 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.1872, allocations: 16 kB / 0.8528 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1872, allocations: 3.938 kB / 0.8528 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1872, allocations: 3.984 kB / 0.8528 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1886, allocations: 0.7614 MB / 0.8536 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1888, allocations: 95.45 kB / 0.8537 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.1889, allocations: 16 kB / 0.8537 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.1892, allocations: 27.98 kB / 0.8537 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.1893, allocations: 36.36 kB / 0.8537 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1893, allocations: 12 kB / 0.8537 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003463/0.1897, allocations: 295.1 kB / 0.854 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1897, allocations: 0 / 0.854 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004534/0.1901, allocations: 147.6 kB / 0.8542 GB, free: 1.836 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001322/0.1902, allocations: 123.1 kB / 0.8543 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009826/0.1912, allocations: 482.3 kB / 0.8547 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1912, allocations: 0 / 0.8547 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.1917, allocations: 202.4 kB / 0.8549 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.1924, allocations: 161.2 kB / 0.8551 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.1951, allocations: 1.359 MB / 0.8564 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1954, allocations: 288.7 kB / 0.8567 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.1957, allocations: 60.55 kB / 0.8568 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1958, allocations: 43.44 kB / 0.8568 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.1958, allocations: 0 / 0.8568 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01296/0.2088, allocations: 6.547 MB / 0.8632 GB, free: 8.668 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.305873142555356] Failed to read output from testmodel.py, exit status != 0: 0.21590487472712994 0.231349449 0.06080609000000001 Calling exit ...