Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001642/0.001642, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001985/0.001985, allocations: 169.9 kB / 22.46 MB, free: 5.363 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.9386/0.9386, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.592e-06/1.592e-06, allocations: 0 / 0.5477 GB, free: 9.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.847e-05, allocations: 5.094 kB / 0.5477 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005479/0.005507, allocations: 2.948 MB / 0.5506 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.008005, allocations: 0.9924 MB / 0.5516 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.008303, allocations: 23.81 kB / 0.5516 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.008577, allocations: 79.12 kB / 0.5517 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.008805, allocations: 101 kB / 0.5518 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.00949, allocations: 262.5 kB / 0.552 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.01025, allocations: 0.566 MB / 0.5526 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.01064, allocations: 171.9 kB / 0.5527 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.01119, allocations: 311.1 kB / 0.553 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.01144, allocations: 147.5 kB / 0.5532 GB, free: 4.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.75e-05/0.01153, allocations: 52 kB / 0.5532 GB, free: 4.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.01166, allocations: 60 kB / 0.5533 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.01177, allocations: 111.5 kB / 0.5534 GB, free: 4.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.01195, allocations: 147.6 kB / 0.5535 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.0128, allocations: 0.6307 MB / 0.5542 GB, free: 3.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01281, allocations: 0 / 0.5542 GB, free: 3.289 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.01281, allocations: 0 / 0.5542 GB, free: 3.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.01282, allocations: 0 / 0.5542 GB, free: 3.289 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001445/0.01426, allocations: 0.7136 MB / 0.5549 GB, free: 2.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.01431, allocations: 12.03 kB / 0.5549 GB, free: 2.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.01457, allocations: 64.59 kB / 0.5549 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.01535, allocations: 372.9 kB / 0.5553 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.0154, allocations: 29.38 kB / 0.5553 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.01547, allocations: 40.38 kB / 0.5553 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/0.01628, allocations: 445.5 kB / 0.5558 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.01631, allocations: 4.172 kB / 0.5558 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.01635, allocations: 16.38 kB / 0.5558 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.01637, allocations: 11.94 kB / 0.5558 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.01699, allocations: 263.8 kB / 0.5561 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.01903, allocations: 1.057 MB / 0.5571 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.01981, allocations: 294.4 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.0201, allocations: 132.8 kB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.02014, allocations: 4 kB / 0.5575 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.02055, allocations: 178 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.02055, allocations: 0 / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009658/0.02151, allocations: 386.8 kB / 0.558 GB, free: 15.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/0.02161, allocations: 85.11 kB / 0.5581 GB, free: 15.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.02205, allocations: 345.6 kB / 0.5584 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.02211, allocations: 33.7 kB / 0.5585 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.02233, allocations: 237.2 kB / 0.5587 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.02246, allocations: 111.1 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.02259, allocations: 74.02 kB / 0.5589 GB, free: 14.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.02283, allocations: 350.8 kB / 0.5592 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.02307, allocations: 104.6 kB / 0.5593 GB, free: 13.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.02339, allocations: 198.3 kB / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.02393, allocations: 251.8 kB / 0.5597 GB, free: 13.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02393, allocations: 0 / 0.5597 GB, free: 13.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006993/0.02463, allocations: 354.7 kB / 0.5601 GB, free: 12.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.02465, allocations: 4 kB / 0.5601 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.02467, allocations: 15.86 kB / 0.5601 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.02469, allocations: 0 / 0.5601 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.02498, allocations: 67.91 kB / 0.5602 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.02499, allocations: 0 / 0.5602 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.02519, allocations: 47.95 kB / 0.5602 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.02521, allocations: 12 kB / 0.5602 GB, free: 12.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002485/0.02546, allocations: 171.6 kB / 0.5604 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.02552, allocations: 39.77 kB / 0.5604 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.02564, allocations: 52.03 kB / 0.5605 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.02565, allocations: 4 kB / 0.5605 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.02566, allocations: 0 / 0.5605 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02566, allocations: 0 / 0.5605 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.0269, allocations: 0.6792 MB / 0.5611 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.02691, allocations: 4 kB / 0.5611 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.02717, allocations: 55.84 kB / 0.5612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02718, allocations: 0 / 0.5612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.0272, allocations: 4 kB / 0.5612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02721, allocations: 4 kB / 0.5612 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02721, allocations: 0 / 0.5612 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.0282, allocations: 0.5277 MB / 0.5617 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.02832, allocations: 63.64 kB / 0.5618 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.02837, allocations: 4 kB / 0.5618 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.02856, allocations: 19.98 kB / 0.5618 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.02867, allocations: 31.94 kB / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.02869, allocations: 4 kB / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.02896, allocations: 235.2 kB / 0.5621 GB, free: 10.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02896, allocations: 0 / 0.5621 GB, free: 10.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.02933, allocations: 87.78 kB / 0.5622 GB, free: 10.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001734/0.0295, allocations: 119.2 kB / 0.5623 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.03014, allocations: 248 kB / 0.5625 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03014, allocations: 0 / 0.5625 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.03042, allocations: 127.8 kB / 0.5626 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.03098, allocations: 90.69 kB / 0.5627 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.03272, allocations: 0.7664 MB / 0.5635 GB, free: 9.395 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.03296, allocations: 211.7 kB / 0.5637 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.03314, allocations: 47.27 kB / 0.5637 GB, free: 9.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.03324, allocations: 32.44 kB / 0.5637 GB, free: 9.086 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03324, allocations: 0 / 0.5637 GB, free: 9.086 MB / 478.1 MB Notification: Performance of Templates: time 0.009954/0.0432, allocations: 3.713 MB / 0.5674 GB, free: 5.461 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.856897350400686] Failed to read output from testmodel.py, exit status != 0: 0.053128767758607864 0.07040965299999995 0.05417599399999994 Calling exit ...