Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0009093/0.0009093, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.0008627/0.0008627, allocations: 177 kB / 24.09 MB, free: 420 kB / 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.9921/0.9921, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6088/0.6088, allocations: 110.3 MB / 371.3 MB, free: 12.39 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 1.094 kB / 475.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.418e-05, allocations: 6.109 kB / 475.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003031/0.003045, allocations: 3.916 MB / 479.5 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004414, allocations: 1.353 MB / 480.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.0047, allocations: 30.34 kB / 480.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.004928, allocations: 130.1 kB / 481 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.005126, allocations: 190.4 kB / 481.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.005581, allocations: 413.9 kB / 481.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.006069, allocations: 0.9812 MB / 482.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.006357, allocations: 285.4 kB / 482.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.006699, allocations: 0.5036 MB / 483.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.006883, allocations: 235.4 kB / 483.6 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.106e-05/0.006964, allocations: 90.66 kB / 483.7 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.007044, allocations: 85.56 kB / 483.8 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.007116, allocations: 178.8 kB / 484 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.007258, allocations: 253.2 kB / 484.2 MB, free: 9.633 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.007632, allocations: 0.5655 MB / 484.8 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007634, allocations: 0 / 484.8 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007635, allocations: 3.422 kB / 484.8 MB, free: 9.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007641, allocations: 0 / 484.8 MB, free: 9.293 MB / 410.7 MB 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.000946/0.008587, allocations: 1.165 MB / 485.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008621, allocations: 10.19 kB / 485.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.008741, allocations: 133.5 kB / 486.1 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.009197, allocations: 0.5362 MB / 486.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.009227, allocations: 45.44 kB / 486.7 MB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.009292, allocations: 56.31 kB / 486.7 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.009742, allocations: 0.491 MB / 487.2 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.009757, allocations: 2.062 kB / 487.2 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.009787, allocations: 21.06 kB / 487.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.009798, allocations: 18.59 kB / 487.2 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.01003, allocations: 186.8 kB / 487.4 MB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01146, allocations: 1.721 MB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.01176, allocations: 252.5 kB / 489.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01187, allocations: 108.6 kB / 489.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.0119, allocations: 9.688 kB / 489.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.01208, allocations: 170.4 kB / 489.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.01208, allocations: 1.125 kB / 489.7 MB, free: 22.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004052/0.01249, allocations: 339 kB / 490 MB, free: 22.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.01251, allocations: 67.06 kB / 490.1 MB, free: 22.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.01276, allocations: 444.4 kB / 490.5 MB, free: 21.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01278, allocations: 33.02 kB / 490.5 MB, free: 21.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01292, allocations: 382.6 kB / 490.9 MB, free: 21.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.01299, allocations: 176.8 kB / 491.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.01308, allocations: 103.2 kB / 491.2 MB, free: 21.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.01322, allocations: 0.5395 MB / 491.7 MB, free: 20.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.01331, allocations: 85.59 kB / 491.8 MB, free: 20.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01343, allocations: 192.8 kB / 492 MB, free: 20.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.01365, allocations: 277.1 kB / 492.3 MB, free: 20.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01365, allocations: 1.938 kB / 492.3 MB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003615/0.01402, allocations: 413.3 kB / 492.7 MB, free: 20.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.01404, allocations: 31.86 kB / 492.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01404, allocations: 2.938 kB / 492.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01406, allocations: 5.281 kB / 492.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.01431, allocations: 115.1 kB / 492.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01432, allocations: 4.719 kB / 492.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01445, allocations: 56.92 kB / 492.9 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.01447, allocations: 12.97 kB / 492.9 MB, free: 20.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2) * 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.0001236/0.01459, allocations: 189.8 kB / 493.1 MB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.01465, allocations: 72.05 kB / 493.2 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.01471, allocations: 60.44 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01472, allocations: 5.594 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01472, allocations: 4.906 kB / 493.2 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01472, allocations: 7.266 kB / 493.2 MB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.01539, allocations: 0.7741 MB / 494 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01539, allocations: 2.781 kB / 494 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.01562, allocations: 90.67 kB / 494.1 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01562, allocations: 2.344 kB / 494.1 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01564, allocations: 10.53 kB / 494.1 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01564, allocations: 5.844 kB / 494.1 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01565, allocations: 7.312 kB / 494.1 MB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.01607, allocations: 0.5148 MB / 494.6 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.01616, allocations: 84.3 kB / 494.7 MB, free: 19.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.0162, allocations: 12.16 kB / 494.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01631, allocations: 18.47 kB / 494.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.01637, allocations: 40.83 kB / 494.8 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01638, allocations: 14.47 kB / 494.8 MB, free: 18.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.01653, allocations: 275.4 kB / 495.1 MB, free: 18.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01653, allocations: 0.875 kB / 495.1 MB, free: 18.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.0168, allocations: 145.1 kB / 495.2 MB, free: 18.79 MB / 426.7 MB 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 8.484e-05/0.01688, allocations: 118.6 kB / 495.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.01719, allocations: 321.9 kB / 495.6 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01719, allocations: 0 / 495.6 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.01733, allocations: 135.8 kB / 495.8 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.01774, allocations: 149.9 kB / 495.9 MB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.0191, allocations: 1.154 MB / 497.1 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.237e-05/0.01918, allocations: 136.5 kB / 497.2 MB, free: 17.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.01933, allocations: 62.8 kB / 497.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.01956, allocations: 188.1 kB / 497.5 MB, free: 17.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01956, allocations: 0 / 497.5 MB, free: 17.68 MB / 426.7 MB Notification: Performance of Templates: time 0.009228/0.02879, allocations: 6.351 MB / 0.492 GB, free: 16.87 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5918685849756002]