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.001347/0.001347, allocations: 81.95 kB / 21.47 MB, free: 3.02 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.001715/0.001715, allocations: 164.5 kB / 24.87 MB, free: 9.27 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.5889/0.5889, allocations: 110.3 MB / 372.1 MB, free: 12.38 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.824e-06/1.824e-06, allocations: 3.938 kB / 476.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.168e-05, allocations: 4.562 kB / 476.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005371/0.005403, allocations: 3.052 MB / 479.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.007805, allocations: 1.005 MB / 480.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.008127, allocations: 19.28 kB / 480.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.008352, allocations: 81.09 kB / 480.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.00851, allocations: 102.1 kB / 480.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.008969, allocations: 248.9 kB / 480.9 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.009374, allocations: 0.5672 MB / 481.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.009634, allocations: 169.8 kB / 481.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.009955, allocations: 321.8 kB / 481.9 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.01013, allocations: 146 kB / 482.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.01018, allocations: 48.81 kB / 482.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.01025, allocations: 54.16 kB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.01031, allocations: 114.7 kB / 482.3 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.0104, allocations: 144.3 kB / 482.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.01074, allocations: 353.9 kB / 482.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01074, allocations: 1.031 kB / 482.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01075, allocations: 0 / 482.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.01075, allocations: 0 / 482.8 MB, free: 11.08 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.000697/0.01145, allocations: 0.8017 MB / 483.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01149, allocations: 12.08 kB / 483.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.01165, allocations: 90.31 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.012, allocations: 388.7 kB / 484.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.01203, allocations: 28.91 kB / 484.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.01209, allocations: 41.84 kB / 484.1 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.01243, allocations: 360.5 kB / 484.5 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.01245, allocations: 3.188 kB / 484.5 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.01247, allocations: 14.28 kB / 484.5 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01249, allocations: 12.28 kB / 484.5 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.01266, allocations: 116.5 kB / 484.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.0138, allocations: 1.172 MB / 485.8 MB, free: 24.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.01409, allocations: 214.8 kB / 486 MB, free: 24.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.01417, allocations: 73.94 kB / 486.1 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01419, allocations: 9.094 kB / 486.1 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.01435, allocations: 133.6 kB / 486.2 MB, free: 24.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.01435, allocations: 2.094 kB / 486.2 MB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003519/0.0147, allocations: 247.2 kB / 486.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.01473, allocations: 81.83 kB / 486.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.01493, allocations: 363.2 kB / 486.9 MB, free: 24.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.01495, allocations: 39.58 kB / 486.9 MB, free: 24.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01506, allocations: 291.9 kB / 487.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.01511, allocations: 107 kB / 487.3 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.01519, allocations: 78.75 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01532, allocations: 0.5225 MB / 487.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.01538, allocations: 37.64 kB / 488 MB, free: 23.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.01547, allocations: 156.6 kB / 488.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.01562, allocations: 172.5 kB / 488.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01562, allocations: 2.5 kB / 488.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002727/0.01589, allocations: 248.4 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01591, allocations: 8.25 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01592, allocations: 1.469 kB / 488.5 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01593, allocations: 8.656 kB / 488.5 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.0161, allocations: 69.95 kB / 488.6 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.0161, allocations: 7.406 kB / 488.6 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.01619, allocations: 38.16 kB / 488.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.01621, allocations: 10.34 kB / 488.7 MB, free: 23 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.0001171/0.01633, allocations: 180.9 kB / 488.8 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.01637, allocations: 52.45 kB / 488.9 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.01643, allocations: 44.44 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.01643, allocations: 7.312 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01643, allocations: 2.75 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01644, allocations: 3.375 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.01695, allocations: 0.5697 MB / 489.5 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01695, allocations: 0 / 489.5 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.01708, allocations: 51.94 kB / 489.6 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01709, allocations: 1.406 kB / 489.6 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.01711, allocations: 12.47 kB / 489.6 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01711, allocations: 2.281 kB / 489.6 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01711, allocations: 0.75 kB / 489.6 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01744, allocations: 417 kB / 490 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.01751, allocations: 69.28 kB / 490.1 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.01754, allocations: 9.938 kB / 490.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.01761, allocations: 14.62 kB / 490.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.01766, allocations: 26.34 kB / 490.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01767, allocations: 3.938 kB / 490.1 MB, free: 22.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.01779, allocations: 237.9 kB / 490.3 MB, free: 21.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01779, allocations: 0.9688 kB / 490.3 MB, free: 21.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01803, allocations: 85.47 kB / 490.4 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.0001178/0.01814, allocations: 117.2 kB / 490.5 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.01837, allocations: 159.9 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01837, allocations: 1.406 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01848, allocations: 89.88 kB / 490.8 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.0188, allocations: 95.03 kB / 490.9 MB, free: 21.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.01984, allocations: 0.7401 MB / 491.6 MB, free: 21.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.126e-05/0.0199, allocations: 103.4 kB / 491.7 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.02, allocations: 46.98 kB / 491.8 MB, free: 21.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.02018, allocations: 144.4 kB / 491.9 MB, free: 21.11 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02018, allocations: 0 / 491.9 MB, free: 21.11 MB / 426.7 MB Notification: Performance of Templates: time 0.006796/0.02697, allocations: 4.173 MB / 496.1 MB, free: 20.69 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.5695850839838386]