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.0007039/0.0007039, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007825/0.0007825, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9366/0.9366, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.554/0.554, allocations: 110.2 MB / 370.2 MB, free: 12.62 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 2.355e-06/2.355e-06, allocations: 0 / 0.5485 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.397e-05, allocations: 6.281 kB / 0.5485 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00407/0.004104, allocations: 3.731 MB / 0.5521 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.005859, allocations: 1.328 MB / 0.5534 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006114/0.006471, allocations: 31.75 kB / 0.5534 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.00676, allocations: 122.8 kB / 0.5536 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.006995, allocations: 198.2 kB / 0.5537 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.007615, allocations: 425.9 kB / 0.5542 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.008297, allocations: 0.9785 MB / 0.5551 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.008686, allocations: 282.7 kB / 0.5554 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.009061, allocations: 0.4989 MB / 0.5559 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.009292, allocations: 239.2 kB / 0.5561 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.009373, allocations: 92 kB / 0.5562 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.009441, allocations: 92 kB / 0.5563 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.009542, allocations: 179.4 kB / 0.5564 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.009714, allocations: 251.3 kB / 0.5567 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007671/0.01048, allocations: 1.133 MB / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01048, allocations: 3.938 kB / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.11e-07/0.01048, allocations: 0 / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.01049, allocations: 0 / 0.5578 GB, free: 15.79 MB / 0.5261 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.001293/0.01179, allocations: 1.091 MB / 0.5589 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.01183, allocations: 8.031 kB / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.01193, allocations: 84.42 kB / 0.5589 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.01257, allocations: 0.4992 MB / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.01261, allocations: 53.67 kB / 0.5595 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.01267, allocations: 56.38 kB / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.0134, allocations: 0.6505 MB / 0.5602 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.01342, allocations: 4.141 kB / 0.5602 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.01346, allocations: 28.36 kB / 0.5602 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.01348, allocations: 19.94 kB / 0.5602 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.01443, allocations: 457 kB / 0.5607 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.01619, allocations: 1.702 MB / 0.5623 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.01675, allocations: 417.5 kB / 0.5627 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.01702, allocations: 226.2 kB / 0.5629 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.01706, allocations: 12.5 kB / 0.5629 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.01739, allocations: 266.1 kB / 0.5632 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 1.783e-06/0.01739, allocations: 0 / 0.5632 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.0007942/0.01819, allocations: 0.5717 MB / 0.5638 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.01824, allocations: 71.84 kB / 0.5638 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.01857, allocations: 429.8 kB / 0.5642 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.0186, allocations: 37.69 kB / 0.5643 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.01882, allocations: 332.8 kB / 0.5646 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.01892, allocations: 170.5 kB / 0.5648 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.01901, allocations: 94.3 kB / 0.5648 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01915, allocations: 366.8 kB / 0.5652 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.01939, allocations: 194.9 kB / 0.5654 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.01968, allocations: 284.3 kB / 0.5656 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.02022, allocations: 455.2 kB / 0.5661 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02022, allocations: 0 / 0.5661 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006849/0.02091, allocations: 0.5863 MB / 0.5667 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.02095, allocations: 37.95 kB / 0.5667 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02096, allocations: 4 kB / 0.5667 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.02097, allocations: 7.938 kB / 0.5667 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.02126, allocations: 115.8 kB / 0.5668 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.02127, allocations: 7.938 kB / 0.5668 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.02141, allocations: 59.64 kB / 0.5669 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.02144, allocations: 19.98 kB / 0.5669 GB, free: 6.137 MB / 0.5261 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.0001978/0.02164, allocations: 213.6 kB / 0.5671 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.02168, allocations: 59.67 kB / 0.5672 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.654e-05/0.02177, allocations: 61.45 kB / 0.5672 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.02178, allocations: 4 kB / 0.5672 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.02179, allocations: 3.938 kB / 0.5672 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.0218, allocations: 3.984 kB / 0.5672 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.02317, allocations: 1.004 MB / 0.5682 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02317, allocations: 4 kB / 0.5682 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.02341, allocations: 91.89 kB / 0.5683 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.02341, allocations: 0 / 0.5683 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.02344, allocations: 15.92 kB / 0.5683 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.02344, allocations: 4 kB / 0.5683 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.02344, allocations: 4 kB / 0.5683 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/0.02432, allocations: 0.7592 MB / 0.5691 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.02443, allocations: 91.56 kB / 0.5691 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.02447, allocations: 15.94 kB / 0.5692 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.0246, allocations: 27.97 kB / 0.5692 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.02468, allocations: 36.38 kB / 0.5692 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.02471, allocations: 15.98 kB / 0.5692 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002206/0.02493, allocations: 295.1 kB / 0.5695 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.02493, allocations: 0 / 0.5695 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002889/0.02522, allocations: 147.6 kB / 0.5697 GB, free: 3.234 MB / 0.5261 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.0001387/0.02535, allocations: 111.2 kB / 0.5698 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006057/0.02596, allocations: 491.2 kB / 0.5702 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02596, allocations: 0.5 kB / 0.5702 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.02621, allocations: 202.8 kB / 0.5704 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.02669, allocations: 156.5 kB / 0.5706 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.02845, allocations: 1.283 MB / 0.5718 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.02868, allocations: 296.7 kB / 0.5721 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.02879, allocations: 48.44 kB / 0.5722 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/0.02879, allocations: 0 / 0.5722 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of Templates: time 0.007404/0.03619, allocations: 7.831 MB / 0.5798 GB, free: 8.801 MB / 0.5417 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6501873312518] Failed to read output from testmodel.py, exit status != 0: 0.04229718167334795 0.050375324000000006 0.038262973000000006 Calling exit ...