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.001751/0.001751, allocations: 116.7 kB / 17.08 MB, free: 6.012 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.002076/0.002076, allocations: 195 kB / 18.02 MB, free: 5.094 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.531/1.531, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.74/0.74, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.91 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1444, allocations: 76.17 MB / 0.6327 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004691/0.1491, allocations: 2.974 MB / 0.6356 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1512, allocations: 0.9119 MB / 0.6365 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.1516, allocations: 11.94 kB / 0.6365 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1519, allocations: 67.27 kB / 0.6366 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1523, allocations: 95.16 kB / 0.6367 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.153, allocations: 209.9 kB / 0.6369 GB, free: 276 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.1536, allocations: 499.1 kB / 0.6373 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.154, allocations: 217.6 kB / 0.6375 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.1544, allocations: 187.2 kB / 0.6377 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1546, allocations: 175 kB / 0.6379 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1548, allocations: 48 kB / 0.6379 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.1548, allocations: 44 kB / 0.638 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.1549, allocations: 95.62 kB / 0.6381 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1551, allocations: 198.9 kB / 0.6383 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.1557, allocations: 0.5059 MB / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1558, allocations: 3.938 kB / 0.6388 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1558, allocations: 0 / 0.6388 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1558, allocations: 0 / 0.6388 GB, free: 14.32 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.001282/0.1571, allocations: 0.7051 MB / 0.6394 GB, free: 13.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1571, allocations: 12.03 kB / 0.6395 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1572, allocations: 52.28 kB / 0.6395 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.158, allocations: 396.4 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.158, allocations: 21.03 kB / 0.6399 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.1581, allocations: 32.38 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.1587, allocations: 345.4 kB / 0.6403 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1587, allocations: 0 / 0.6403 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1588, allocations: 15.98 kB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1588, allocations: 4 kB / 0.6403 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.1593, allocations: 214.1 kB / 0.6405 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1609, allocations: 1.174 MB / 0.6416 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.1615, allocations: 238.7 kB / 0.6419 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1617, allocations: 114.7 kB / 0.642 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1618, allocations: 11.98 kB / 0.642 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1618, allocations: 34.94 kB / 0.642 GB, free: 10.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 2.053e-06/0.1618, allocations: 0 / 0.642 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006738/0.1625, allocations: 289.1 kB / 0.6423 GB, free: 10.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.1626, allocations: 106.8 kB / 0.6424 GB, free: 10.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.163, allocations: 341.5 kB / 0.6427 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.163, allocations: 37.7 kB / 0.6428 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1632, allocations: 228.1 kB / 0.643 GB, free: 9.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.1633, allocations: 74.92 kB / 0.643 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.1634, allocations: 45.7 kB / 0.6431 GB, free: 9.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1635, allocations: 346.8 kB / 0.6434 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1637, allocations: 75.95 kB / 0.6435 GB, free: 9.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1639, allocations: 143.7 kB / 0.6436 GB, free: 9.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1643, allocations: 209.8 kB / 0.6438 GB, free: 8.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1643, allocations: 0 / 0.6438 GB, free: 8.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000522/0.1649, allocations: 285 kB / 0.6441 GB, free: 8.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1649, allocations: 8.031 kB / 0.6441 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1649, allocations: 4 kB / 0.6441 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1649, allocations: 3.984 kB / 0.6441 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.1652, allocations: 51.92 kB / 0.6442 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1652, allocations: 7.984 kB / 0.6442 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1654, allocations: 35.77 kB / 0.6442 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1654, allocations: 8 kB / 0.6442 GB, free: 8.391 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.0001839/0.1656, allocations: 165.7 kB / 0.6444 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.1657, allocations: 35.53 kB / 0.6444 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1658, allocations: 43.36 kB / 0.6444 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1658, allocations: 0 / 0.6444 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1658, allocations: 0 / 0.6444 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1658, allocations: 3.984 kB / 0.6444 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.1663, allocations: 397.2 kB / 0.6448 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1663, allocations: 3.984 kB / 0.6448 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1665, allocations: 39.92 kB / 0.6449 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1665, allocations: 0 / 0.6449 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1665, allocations: 12 kB / 0.6449 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1666, allocations: 0 / 0.6449 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1666, allocations: 3.984 kB / 0.6449 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.1673, allocations: 420.5 kB / 0.6453 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1674, allocations: 132.5 kB / 0.6454 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1675, allocations: 12.06 kB / 0.6454 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1677, allocations: 19.92 kB / 0.6454 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.1677, allocations: 19.97 kB / 0.6455 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1677, allocations: 4 kB / 0.6455 GB, free: 7.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.168, allocations: 243.2 kB / 0.6457 GB, free: 6.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.168, allocations: 3.938 kB / 0.6457 GB, free: 6.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1683, allocations: 59.84 kB / 0.6458 GB, free: 6.715 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.0001287/0.1685, allocations: 107.2 kB / 0.6459 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.1689, allocations: 208.9 kB / 0.6461 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.169, allocations: 0 / 0.6461 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1692, allocations: 99.89 kB / 0.6462 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.1697, allocations: 81.83 kB / 0.6462 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.171, allocations: 0.7158 MB / 0.6469 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1713, allocations: 0.7912 MB / 0.6477 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.1714, allocations: 27.44 kB / 0.6477 GB, free: 4.637 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1714, allocations: 0 / 0.6477 GB, free: 4.637 MB / 494.1 MB Notification: Performance of Templates: time 0.007236/0.1787, allocations: 4.275 MB / 0.6519 GB, free: 388 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)