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.0007296/0.0007296, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000785/0.000785, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8463/0.8463, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5537/0.5537, 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.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.613e-06/1.613e-06, allocations: 0 / 0.5485 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.095e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003721/0.003752, allocations: 2.947 MB / 0.5514 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.005567, allocations: 1.001 MB / 0.5523 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.005907, allocations: 15.88 kB / 0.5523 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.006139, allocations: 79.14 kB / 0.5524 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.006352, allocations: 103.1 kB / 0.5525 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.006961, allocations: 254.9 kB / 0.5528 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.007497, allocations: 0.5659 MB / 0.5533 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.007814, allocations: 167.9 kB / 0.5535 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.008231, allocations: 311.2 kB / 0.5538 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.008428, allocations: 155.4 kB / 0.5539 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.00848, allocations: 52 kB / 0.554 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.008558, allocations: 55.94 kB / 0.554 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.008619, allocations: 111.6 kB / 0.5541 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.00872, allocations: 151.5 kB / 0.5543 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.00934, allocations: 0.6346 MB / 0.5549 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.009345, allocations: 0 / 0.5549 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.009347, allocations: 0 / 0.5549 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.009359, allocations: 4 kB / 0.5549 GB, free: 2.762 MB / 0.5105 GB 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.00103/0.01039, allocations: 0.7058 MB / 0.5556 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.01043, allocations: 8.625 kB / 0.5556 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.01062, allocations: 68.59 kB / 0.5557 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.01117, allocations: 360.9 kB / 0.556 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.01121, allocations: 29.38 kB / 0.556 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.01125, allocations: 36.38 kB / 0.5561 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.01176, allocations: 453.5 kB / 0.5565 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01178, allocations: 192 / 0.5565 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.01181, allocations: 12.38 kB / 0.5565 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01182, allocations: 11.94 kB / 0.5565 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.01219, allocations: 267.8 kB / 0.5568 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.01342, allocations: 1.073 MB / 0.5578 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.01391, allocations: 298.9 kB / 0.5581 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.01407, allocations: 120.8 kB / 0.5582 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.0141, allocations: 4 kB / 0.5582 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.01433, allocations: 178 kB / 0.5584 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.01433, allocations: 4 kB / 0.5584 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0005615/0.01489, allocations: 390.8 kB / 0.5588 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.01494, allocations: 81.11 kB / 0.5589 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.0152, allocations: 341.6 kB / 0.5592 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.01523, allocations: 37.7 kB / 0.5592 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01537, allocations: 245.2 kB / 0.5594 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.01543, allocations: 103.1 kB / 0.5595 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.01551, allocations: 78.02 kB / 0.5596 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01562, allocations: 350.8 kB / 0.56 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01577, allocations: 104.6 kB / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01594, allocations: 190.3 kB / 0.5602 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.01624, allocations: 256.5 kB / 0.5605 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01624, allocations: 4 kB / 0.5605 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003965/0.01664, allocations: 346.7 kB / 0.5608 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.01666, allocations: 8 kB / 0.5608 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01667, allocations: 3.938 kB / 0.5608 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01669, allocations: 4.188 kB / 0.5608 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.01684, allocations: 67.91 kB / 0.5609 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01685, allocations: 4 kB / 0.5609 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.01695, allocations: 35.83 kB / 0.5609 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01696, allocations: 15.94 kB / 0.5609 GB, free: 12.3 MB / 0.5261 GB 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.0001562/0.01712, allocations: 182.8 kB / 0.5611 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.01716, allocations: 39.72 kB / 0.5612 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.01723, allocations: 48.05 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01723, allocations: 4 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01724, allocations: 4 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01724, allocations: 0 / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.018, allocations: 0.6715 MB / 0.5619 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.018, allocations: 0 / 0.5619 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.01814, allocations: 55.84 kB / 0.5619 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01814, allocations: 4 kB / 0.5619 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01816, allocations: 7.938 kB / 0.5619 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01816, allocations: 0 / 0.5619 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01816, allocations: 4 kB / 0.5619 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.01871, allocations: 0.5238 MB / 0.5624 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.0188, allocations: 63.64 kB / 0.5625 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.01883, allocations: 11.98 kB / 0.5625 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.01892, allocations: 15.98 kB / 0.5625 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.01899, allocations: 27.94 kB / 0.5626 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.019, allocations: 12 kB / 0.5626 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001687/0.01917, allocations: 243.2 kB / 0.5628 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01917, allocations: 0 / 0.5628 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002529/0.01943, allocations: 87.78 kB / 0.5629 GB, free: 10.25 MB / 0.5261 GB 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.000117/0.01954, allocations: 107.2 kB / 0.563 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01992, allocations: 256 kB / 0.5632 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01992, allocations: 384 / 0.5632 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.02007, allocations: 131.8 kB / 0.5634 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.02044, allocations: 89.72 kB / 0.5634 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.02152, allocations: 0.7984 MB / 0.5642 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.02166, allocations: 207.8 kB / 0.5644 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.02174, allocations: 36.48 kB / 0.5645 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/0.02174, allocations: 0 / 0.5645 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of Templates: time 0.006337/0.02807, allocations: 5.035 MB / 0.5694 GB, free: 3.551 MB / 0.5261 GB " [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.193970770575106] Failed to read output from testmodel.py, exit status != 0: 0.03440698888152838 0.04255349 0.031519826 Calling exit ...