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.001003/0.001003, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009838/0.0009838, allocations: 171.3 kB / 24.84 MB, free: 9.285 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.6612/0.6612, allocations: 115 MB / 376.8 MB, free: 7.469 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.693e-06/1.693e-06, allocations: 0 / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.915e-05, allocations: 10.64 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005072/0.005101, allocations: 3.045 MB / 485.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.007679, allocations: 1.008 MB / 486.8 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.008306, allocations: 16.81 kB / 486.8 MB, free: 9.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.008611, allocations: 71.33 kB / 486.9 MB, free: 9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.008915, allocations: 109.8 kB / 487 MB, free: 8.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.009624, allocations: 252.8 kB / 487.2 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.01034, allocations: 0.5669 MB / 487.8 MB, free: 8.461 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.01074, allocations: 166.9 kB / 487.9 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.01129, allocations: 322 kB / 488.3 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.01158, allocations: 147.5 kB / 488.4 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.01167, allocations: 50.12 kB / 488.5 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.0118, allocations: 52.53 kB / 488.5 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.01188, allocations: 113.2 kB / 488.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.01212, allocations: 144.8 kB / 488.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.01268, allocations: 357 kB / 489.1 MB, free: 7.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01268, allocations: 0 / 489.1 MB, free: 7.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01268, allocations: 1.125 kB / 489.1 MB, free: 7.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.01269, allocations: 0 / 489.1 MB, free: 7.773 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.000828/0.01352, allocations: 0.8009 MB / 489.9 MB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01356, allocations: 13.97 kB / 489.9 MB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.01374, allocations: 94.52 kB / 490 MB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.01412, allocations: 384.3 kB / 490.4 MB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.01418, allocations: 29.16 kB / 490.4 MB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.01424, allocations: 40.47 kB / 490.5 MB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.01464, allocations: 361.7 kB / 490.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.01466, allocations: 1.656 kB / 490.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.01468, allocations: 16.31 kB / 490.8 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.01469, allocations: 12.56 kB / 490.8 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.01487, allocations: 118.9 kB / 491 MB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01606, allocations: 1.174 MB / 492.1 MB, free: 21.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.01641, allocations: 210.2 kB / 492.3 MB, free: 21.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.01649, allocations: 68.2 kB / 492.4 MB, free: 21.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01651, allocations: 5.031 kB / 492.4 MB, free: 21.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.01665, allocations: 127 kB / 492.5 MB, free: 21.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.01665, allocations: 2.281 kB / 492.5 MB, free: 21.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003464/0.017, allocations: 247.8 kB / 492.8 MB, free: 21.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.01703, allocations: 86.33 kB / 492.9 MB, free: 21.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01725, allocations: 362 kB / 493.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01727, allocations: 39.66 kB / 493.2 MB, free: 21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.0174, allocations: 292.3 kB / 493.5 MB, free: 20.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.01745, allocations: 110.3 kB / 493.6 MB, free: 20.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.01752, allocations: 77.77 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01767, allocations: 0.5279 MB / 494.2 MB, free: 20.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.01773, allocations: 41.44 kB / 494.3 MB, free: 20.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.01783, allocations: 153.1 kB / 494.4 MB, free: 19.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.01798, allocations: 174.5 kB / 494.6 MB, free: 19.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01799, allocations: 0 / 494.6 MB, free: 19.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003175/0.0183, allocations: 246.1 kB / 494.8 MB, free: 19.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01832, allocations: 6.469 kB / 494.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.01833, allocations: 3.219 kB / 494.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01834, allocations: 10.59 kB / 494.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01851, allocations: 73.3 kB / 494.9 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01852, allocations: 3.875 kB / 494.9 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.01861, allocations: 39.31 kB / 495 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01862, allocations: 5.438 kB / 495 MB, free: 19.69 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.0001165/0.01874, allocations: 183.3 kB / 495.2 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.01878, allocations: 56.38 kB / 495.2 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.01883, allocations: 45.25 kB / 495.3 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01884, allocations: 8.062 kB / 495.3 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01884, allocations: 1.375 kB / 495.3 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01885, allocations: 3.281 kB / 495.3 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.01939, allocations: 0.5647 MB / 495.8 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01939, allocations: 2 kB / 495.8 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.01952, allocations: 49.33 kB / 495.9 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01953, allocations: 2.344 kB / 495.9 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01954, allocations: 13.73 kB / 495.9 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01954, allocations: 2.219 kB / 495.9 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01955, allocations: 2.656 kB / 495.9 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.01988, allocations: 414 kB / 496.3 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.01995, allocations: 64.16 kB / 496.4 MB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01998, allocations: 9.25 kB / 496.4 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.02006, allocations: 13.66 kB / 496.4 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.02012, allocations: 29.5 kB / 496.4 MB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.02014, allocations: 5.375 kB / 496.4 MB, free: 18.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02028, allocations: 235.7 kB / 496.7 MB, free: 18.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02028, allocations: 3.25 kB / 496.7 MB, free: 18.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.02052, allocations: 83.94 kB / 496.8 MB, free: 18.57 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 9.451e-05/0.02061, allocations: 105 kB / 496.9 MB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.02083, allocations: 164.6 kB / 497 MB, free: 18.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02083, allocations: 1.219 kB / 497 MB, free: 18.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.02094, allocations: 86 kB / 497.1 MB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.02126, allocations: 86.95 kB / 497.2 MB, free: 18.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02237, allocations: 0.7448 MB / 497.9 MB, free: 17.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.764e-05/0.02243, allocations: 105.6 kB / 498 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.02254, allocations: 40.59 kB / 498.1 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.0227, allocations: 147.6 kB / 498.2 MB, free: 17.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0227, allocations: 0 / 498.2 MB, free: 17.8 MB / 426.7 MB Notification: Performance of Templates: time 0.006626/0.02933, allocations: 4.177 MB / 0.4906 GB, free: 17.33 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7032552771270275]