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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 109.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6893/0.6893, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.55 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1384, allocations: 76.18 MB / 0.632 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004204/0.1426, allocations: 3.125 MB / 0.6351 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1443, allocations: 0.9701 MB / 0.636 GB, free: 312 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.1445, allocations: 11.94 kB / 0.6361 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.1448, allocations: 75.14 kB / 0.6361 GB, free: 224 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.145, allocations: 91.17 kB / 0.6362 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1455, allocations: 241.7 kB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.146, allocations: 0.5505 MB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1464, allocations: 251.5 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1466, allocations: 211 kB / 0.6374 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1469, allocations: 207 kB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.1469, allocations: 52 kB / 0.6377 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.147, allocations: 52 kB / 0.6377 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.1471, allocations: 111.6 kB / 0.6378 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1473, allocations: 238.7 kB / 0.6381 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1478, allocations: 0.5838 MB / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1478, allocations: 0 / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1478, allocations: 0 / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1479, allocations: 0 / 0.6386 GB, free: 13.65 MB / 494.1 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.001146/0.149, allocations: 0.7738 MB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1491, allocations: 8.031 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.1492, allocations: 60.27 kB / 0.6394 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.1498, allocations: 420.6 kB / 0.6398 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.1498, allocations: 29.38 kB / 0.6399 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.1499, allocations: 40.28 kB / 0.6399 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.1505, allocations: 401.9 kB / 0.6403 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1505, allocations: 3.938 kB / 0.6403 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.1506, allocations: 16 kB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1506, allocations: 12 kB / 0.6403 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.1511, allocations: 255.9 kB / 0.6406 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1526, allocations: 1.305 MB / 0.6418 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.1533, allocations: 317.1 kB / 0.6421 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1536, allocations: 136.8 kB / 0.6423 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1536, allocations: 11.92 kB / 0.6423 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.1539, allocations: 177.4 kB / 0.6425 GB, free: 9.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.154, allocations: 0 / 0.6425 GB, free: 9.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007635/0.1547, allocations: 386.6 kB / 0.6428 GB, free: 9.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.1548, allocations: 81.11 kB / 0.6429 GB, free: 9.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.1551, allocations: 349.6 kB / 0.6432 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1552, allocations: 37.7 kB / 0.6433 GB, free: 8.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1553, allocations: 236.3 kB / 0.6435 GB, free: 8.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.1554, allocations: 98.55 kB / 0.6436 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.1555, allocations: 74.06 kB / 0.6437 GB, free: 8.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1557, allocations: 350.8 kB / 0.644 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1559, allocations: 100.7 kB / 0.6441 GB, free: 7.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1561, allocations: 168.4 kB / 0.6443 GB, free: 7.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.1566, allocations: 259.8 kB / 0.6445 GB, free: 7.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1566, allocations: 0 / 0.6445 GB, free: 7.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005787/0.1572, allocations: 358.5 kB / 0.6448 GB, free: 6.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1572, allocations: 5.406 kB / 0.6449 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1572, allocations: 4 kB / 0.6449 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1572, allocations: 4 kB / 0.6449 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1575, allocations: 63.84 kB / 0.6449 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1575, allocations: 4.188 kB / 0.6449 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1577, allocations: 43.67 kB / 0.645 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1577, allocations: 8 kB / 0.645 GB, free: 6.824 MB / 494.1 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.000184/0.1579, allocations: 186.3 kB / 0.6452 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.158, allocations: 35.53 kB / 0.6452 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.305e-05/0.1581, allocations: 40.25 kB / 0.6452 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1581, allocations: 4 kB / 0.6452 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1581, allocations: 0 / 0.6452 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1581, allocations: 7.984 kB / 0.6452 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1591, allocations: 0.8119 MB / 0.646 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1592, allocations: 4 kB / 0.646 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1594, allocations: 47.91 kB / 0.6461 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1594, allocations: 0 / 0.6461 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1594, allocations: 12 kB / 0.6461 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1594, allocations: 0 / 0.6461 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1594, allocations: 4 kB / 0.6461 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.1602, allocations: 0.5083 MB / 0.6466 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1604, allocations: 144.5 kB / 0.6467 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.1604, allocations: 8 kB / 0.6467 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1606, allocations: 15.98 kB / 0.6468 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.1607, allocations: 31.97 kB / 0.6468 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1607, allocations: 15.98 kB / 0.6468 GB, free: 4.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1609, allocations: 243.1 kB / 0.647 GB, free: 4.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 0.647 GB, free: 4.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1613, allocations: 87.62 kB / 0.6471 GB, free: 4.531 MB / 494.1 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.0001083/0.1614, allocations: 107.2 kB / 0.6472 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.1619, allocations: 268 kB / 0.6475 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1619, allocations: 0 / 0.6475 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.1621, allocations: 132.5 kB / 0.6476 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.1626, allocations: 79.77 kB / 0.6477 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.164, allocations: 0.8023 MB / 0.6485 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1644, allocations: 0.8113 MB / 0.6492 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.1646, allocations: 51.25 kB / 0.6493 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.1646, allocations: 27.44 kB / 0.6493 GB, free: 2.203 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1646, allocations: 0 / 0.6493 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Templates: time 0.007149/0.1718, allocations: 3.714 MB / 0.6529 GB, free: 14.52 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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)