Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.0009253/0.0009253, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009947/0.0009947, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8923/0.8923, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5339/0.5339, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.794e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003134/0.003162, allocations: 2.942 MB / 0.5583 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.004497, allocations: 1.001 MB / 0.5592 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.0047, allocations: 19.88 kB / 0.5593 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.004905, allocations: 75.19 kB / 0.5593 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.005044, allocations: 103 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.005476, allocations: 251.6 kB / 0.5597 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.005848, allocations: 0.5659 MB / 0.5602 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.006112, allocations: 175.8 kB / 0.5604 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.006418, allocations: 315.2 kB / 0.5607 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.006566, allocations: 143.4 kB / 0.5608 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.006612, allocations: 52 kB / 0.5609 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.006679, allocations: 63.92 kB / 0.5609 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.006736, allocations: 111.6 kB / 0.5611 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.006828, allocations: 147.5 kB / 0.5612 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.007294, allocations: 0.6074 MB / 0.5618 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007297, allocations: 0 / 0.5618 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007298, allocations: 0 / 0.5618 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.007305, allocations: 0 / 0.5618 GB, free: 11.72 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007924/0.008097, allocations: 0.7098 MB / 0.5625 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.008131, allocations: 8.625 kB / 0.5625 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.00827, allocations: 68.55 kB / 0.5626 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.008854, allocations: 361 kB / 0.5629 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.008878, allocations: 29.38 kB / 0.5629 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.00892, allocations: 36.38 kB / 0.563 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.009344, allocations: 453.5 kB / 0.5634 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.009358, allocations: 192 / 0.5634 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.009383, allocations: 16.38 kB / 0.5634 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.009392, allocations: 11.94 kB / 0.5634 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.009719, allocations: 263.8 kB / 0.5637 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.01074, allocations: 1.053 MB / 0.5647 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.01116, allocations: 295.1 kB / 0.565 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.0113, allocations: 129.3 kB / 0.5651 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.01133, allocations: 8 kB / 0.5651 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.01153, allocations: 169.6 kB / 0.5653 GB, free: 8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.01154, allocations: 0 / 0.5653 GB, free: 8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0005181/0.01205, allocations: 390.7 kB / 0.5656 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.01212, allocations: 93.03 kB / 0.5657 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01235, allocations: 349.5 kB / 0.5661 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01237, allocations: 33.7 kB / 0.5661 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.01249, allocations: 240.7 kB / 0.5663 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.01255, allocations: 111.1 kB / 0.5664 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.01262, allocations: 74.06 kB / 0.5665 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.01271, allocations: 346.8 kB / 0.5668 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01285, allocations: 100.6 kB / 0.5669 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.01301, allocations: 190.3 kB / 0.5671 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.0133, allocations: 259.8 kB / 0.5674 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0133, allocations: 0 / 0.5674 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003751/0.01367, allocations: 359.3 kB / 0.5677 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01369, allocations: 4 kB / 0.5677 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01369, allocations: 11.92 kB / 0.5677 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01371, allocations: 4 kB / 0.5677 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01385, allocations: 63.91 kB / 0.5678 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01386, allocations: 7.938 kB / 0.5678 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.01395, allocations: 31.83 kB / 0.5678 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01396, allocations: 12.19 kB / 0.5678 GB, free: 5.258 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.0001359/0.0141, allocations: 182.9 kB / 0.568 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.01413, allocations: 35.77 kB / 0.568 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.01418, allocations: 48.05 kB / 0.5681 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01419, allocations: 4 kB / 0.5681 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01419, allocations: 0 / 0.5681 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.0142, allocations: 0 / 0.5681 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.01482, allocations: 0.682 MB / 0.5688 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01482, allocations: 4 kB / 0.5688 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.01495, allocations: 51.84 kB / 0.5688 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01495, allocations: 0 / 0.5688 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01497, allocations: 8 kB / 0.5688 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01497, allocations: 0 / 0.5688 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01497, allocations: 0 / 0.5688 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.01547, allocations: 0.5172 MB / 0.5693 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.01554, allocations: 63.64 kB / 0.5694 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.01557, allocations: 16.05 kB / 0.5694 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.01566, allocations: 15.98 kB / 0.5694 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.01572, allocations: 23.95 kB / 0.5694 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01573, allocations: 12 kB / 0.5694 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000438/0.01617, allocations: 235.2 kB / 0.5697 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 0.5697 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002169/0.01639, allocations: 91.73 kB / 0.5698 GB, free: 3.223 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 9.45e-05/0.01648, allocations: 111.2 kB / 0.5699 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.01681, allocations: 255.6 kB / 0.5701 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01681, allocations: 3.938 kB / 0.5701 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01696, allocations: 123.8 kB / 0.5702 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01728, allocations: 93.94 kB / 0.5703 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.01822, allocations: 0.7984 MB / 0.5711 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.01834, allocations: 211.8 kB / 0.5713 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.01843, allocations: 36.48 kB / 0.5713 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.01843, allocations: 0 / 0.5713 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of Templates: time 0.004608/0.02304, allocations: 5.058 MB / 0.5763 GB, free: 12.51 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.144586895592511] Failed to read output from testmodel.py, exit status != 0: 0.02879915200173855 0.035743186 0.026859906000000003 Calling exit ...