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.0009865/0.0009865, allocations: 80.39 kB / 20.97 MB, free: 3.578 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.001121/0.001121, allocations: 165.4 kB / 24.28 MB, free: 280 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 1.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.5996/0.5996, allocations: 110.3 MB / 371.3 MB, free: 12.54 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.794e-06/1.794e-06, allocations: 0 / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.838e-05, allocations: 2.312 kB / 475.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003705/0.003733, allocations: 3.094 MB / 478.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.005314, allocations: 1.011 MB / 479.3 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.005609, allocations: 16.03 kB / 479.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.005826, allocations: 78.42 kB / 479.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.005983, allocations: 99.45 kB / 479.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.006523, allocations: 253.3 kB / 479.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.006959, allocations: 0.5668 MB / 480.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.007228, allocations: 170.3 kB / 480.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.00757, allocations: 315.8 kB / 480.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.007747, allocations: 145.3 kB / 480.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.007805, allocations: 52.5 kB / 480.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.007885, allocations: 60.8 kB / 481 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.007941, allocations: 116.1 kB / 481.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.008048, allocations: 147.2 kB / 481.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.00843, allocations: 361 kB / 481.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.008438, allocations: 0 / 481.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.008439, allocations: 0.8125 kB / 481.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.00845, allocations: 0 / 481.6 MB, free: 11.25 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007974/0.009247, allocations: 0.7975 MB / 482.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.009286, allocations: 8.188 kB / 482.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.00949, allocations: 99.59 kB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.009895, allocations: 387.3 kB / 482.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.009926, allocations: 28.16 kB / 482.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.009969, allocations: 39.31 kB / 482.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.01036, allocations: 383.5 kB / 483.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.01037, allocations: 4.125 kB / 483.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.0104, allocations: 18.03 kB / 483.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01042, allocations: 11.22 kB / 483.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.01066, allocations: 136.8 kB / 483.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01189, allocations: 1.242 MB / 484.7 MB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.01228, allocations: 228.1 kB / 484.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.01239, allocations: 84.23 kB / 485 MB, free: 24.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.01242, allocations: 9.094 kB / 485 MB, free: 24.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.01259, allocations: 138.1 kB / 485.2 MB, free: 24.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.0126, allocations: 0.6562 kB / 485.2 MB, free: 24.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004114/0.01301, allocations: 282.2 kB / 485.5 MB, free: 24.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.01305, allocations: 82.14 kB / 485.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.0133, allocations: 372.3 kB / 485.9 MB, free: 24.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01332, allocations: 37.55 kB / 485.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01345, allocations: 292.1 kB / 486.2 MB, free: 24.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.0135, allocations: 102.9 kB / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.01358, allocations: 77.75 kB / 486.4 MB, free: 24.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01371, allocations: 0.5186 MB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.0138, allocations: 51.39 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01392, allocations: 169.3 kB / 487.1 MB, free: 23.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.01412, allocations: 186.2 kB / 487.3 MB, free: 23.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01412, allocations: 0 / 487.3 MB, free: 23.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003095/0.01443, allocations: 278 kB / 487.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01445, allocations: 5.469 kB / 487.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01446, allocations: 5.344 kB / 487.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01447, allocations: 5.188 kB / 487.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01464, allocations: 65.44 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01464, allocations: 3.844 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.01473, allocations: 40.52 kB / 487.7 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01475, allocations: 9.25 kB / 487.7 MB, free: 23.08 MB / 426.7 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.0001169/0.01487, allocations: 185.2 kB / 487.9 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.01491, allocations: 49.36 kB / 487.9 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.01496, allocations: 48.86 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01496, allocations: 3.5 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.01497, allocations: 1.438 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01497, allocations: 4.844 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.01556, allocations: 0.6382 MB / 488.6 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01556, allocations: 3.938 kB / 488.6 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.0157, allocations: 50.41 kB / 488.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.0157, allocations: 2.344 kB / 488.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01572, allocations: 8.625 kB / 488.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01572, allocations: 3.719 kB / 488.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01572, allocations: 0.9688 kB / 488.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01616, allocations: 451.4 kB / 489.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.01623, allocations: 62.75 kB / 489.2 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.01627, allocations: 10.8 kB / 489.2 MB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.01635, allocations: 10.03 kB / 489.2 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.01641, allocations: 29.84 kB / 489.3 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01643, allocations: 21.23 kB / 489.3 MB, free: 22.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.01659, allocations: 248.4 kB / 489.5 MB, free: 21.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01659, allocations: 0 / 489.5 MB, free: 21.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.01685, allocations: 84.28 kB / 489.6 MB, free: 21.88 MB / 426.7 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.0001174/0.01697, allocations: 113.1 kB / 489.7 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.01727, allocations: 178.5 kB / 489.9 MB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01727, allocations: 1.75 kB / 489.9 MB, free: 21.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.0174, allocations: 100.9 kB / 490 MB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01777, allocations: 90.66 kB / 490.1 MB, free: 21.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.01907, allocations: 0.7573 MB / 490.8 MB, free: 21.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.01914, allocations: 103.9 kB / 490.9 MB, free: 21.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.01927, allocations: 49.91 kB / 491 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.01934, allocations: 33.75 kB / 491 MB, free: 21.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01934, allocations: 0 / 491 MB, free: 21.16 MB / 426.7 MB Notification: Performance of Templates: time 0.007255/0.0266, allocations: 3.734 MB / 494.8 MB, free: 20.85 MB / 426.7 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7257304531522095]