Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 117.9 kB / 17.04 MB, free: 6.133 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.001401/0.001401, allocations: 196 kB / 17.98 MB, free: 5.23 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.324/1.324, allocations: 222.9 MB / 241.7 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.7601/0.7601, allocations: 115.3 MB / 407.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.11 kB / 0.5582 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 76.18 MB / 0.6326 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004154/0.1489, allocations: 2.96 MB / 0.6355 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1505, allocations: 0.9119 MB / 0.6363 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1508, allocations: 11.94 kB / 0.6364 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.151, allocations: 63.33 kB / 0.6364 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1512, allocations: 91.17 kB / 0.6365 GB, free: 460 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1517, allocations: 213.9 kB / 0.6367 GB, free: 248 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.1522, allocations: 0.4953 MB / 0.6372 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.1525, allocations: 209.6 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1527, allocations: 183.1 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1529, allocations: 175 kB / 0.6377 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.153, allocations: 44 kB / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.1531, allocations: 48 kB / 0.6378 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1532, allocations: 95.56 kB / 0.6379 GB, free: 15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1533, allocations: 202.9 kB / 0.6381 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.1538, allocations: 0.5059 MB / 0.6386 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1538, allocations: 0 / 0.6386 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1538, allocations: 0 / 0.6386 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1538, allocations: 0 / 0.6386 GB, free: 14.29 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001056/0.1549, allocations: 0.7168 MB / 0.6393 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1549, allocations: 8.031 kB / 0.6393 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.155, allocations: 52.28 kB / 0.6394 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.1556, allocations: 396.4 kB / 0.6397 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1556, allocations: 21.03 kB / 0.6398 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.1557, allocations: 32.38 kB / 0.6398 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.1562, allocations: 337.4 kB / 0.6401 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1563, allocations: 4 kB / 0.6401 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.1563, allocations: 15.98 kB / 0.6401 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1563, allocations: 8 kB / 0.6401 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.1568, allocations: 214.1 kB / 0.6403 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1582, allocations: 1.182 MB / 0.6415 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.1588, allocations: 236.6 kB / 0.6417 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.159, allocations: 114.8 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.159, allocations: 0 / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1591, allocations: 42.94 kB / 0.6419 GB, free: 10.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.1591, allocations: 0 / 0.6419 GB, free: 10.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006539/0.1598, allocations: 294.4 kB / 0.6422 GB, free: 10.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.1598, allocations: 106.8 kB / 0.6423 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1602, allocations: 345.5 kB / 0.6426 GB, free: 9.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1602, allocations: 29.7 kB / 0.6426 GB, free: 9.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1604, allocations: 224.2 kB / 0.6428 GB, free: 9.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.1605, allocations: 74.91 kB / 0.6429 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.1605, allocations: 49.7 kB / 0.6429 GB, free: 9.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1607, allocations: 346.8 kB / 0.6433 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1609, allocations: 71.97 kB / 0.6433 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1611, allocations: 151.6 kB / 0.6435 GB, free: 8.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1615, allocations: 205.5 kB / 0.6437 GB, free: 8.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1615, allocations: 0 / 0.6437 GB, free: 8.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000477/0.1619, allocations: 280.9 kB / 0.644 GB, free: 8.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.162, allocations: 11.94 kB / 0.644 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.162, allocations: 8.125 kB / 0.644 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.162, allocations: 4 kB / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.1623, allocations: 47.97 kB / 0.644 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1623, allocations: 7.938 kB / 0.644 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1625, allocations: 31.77 kB / 0.6441 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1625, allocations: 15.98 kB / 0.6441 GB, free: 8.359 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001553/0.1626, allocations: 157.7 kB / 0.6442 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.1627, allocations: 35.53 kB / 0.6443 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.1628, allocations: 43.36 kB / 0.6443 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1628, allocations: 4 kB / 0.6443 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1628, allocations: 0 / 0.6443 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1628, allocations: 0 / 0.6443 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.1632, allocations: 397.2 kB / 0.6447 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1632, allocations: 4 kB / 0.6447 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.1635, allocations: 43.97 kB / 0.6447 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1635, allocations: 0 / 0.6447 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1635, allocations: 0 / 0.6447 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1635, allocations: 4 kB / 0.6447 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1635, allocations: 7.938 kB / 0.6447 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.1642, allocations: 420.3 kB / 0.6451 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1643, allocations: 132.6 kB / 0.6453 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1643, allocations: 4 kB / 0.6453 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1645, allocations: 24.03 kB / 0.6453 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.1646, allocations: 31.91 kB / 0.6453 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1646, allocations: 4 kB / 0.6453 GB, free: 6.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1648, allocations: 239.2 kB / 0.6456 GB, free: 6.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1648, allocations: 0 / 0.6456 GB, free: 6.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1651, allocations: 63.84 kB / 0.6456 GB, free: 6.688 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001105/0.1653, allocations: 103.2 kB / 0.6457 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.1657, allocations: 209.1 kB / 0.6459 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1657, allocations: 0 / 0.6459 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1659, allocations: 103.9 kB / 0.646 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1664, allocations: 82.62 kB / 0.6461 GB, free: 6.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1676, allocations: 0.7236 MB / 0.6468 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.168, allocations: 0.7873 MB / 0.6476 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.1681, allocations: 27.44 kB / 0.6476 GB, free: 4.605 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1681, allocations: 4 kB / 0.6476 GB, free: 4.602 MB / 494.1 MB Notification: Performance of Templates: time 0.005951/0.174, allocations: 4.217 MB / 0.6517 GB, free: 408 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)