Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 106 kB / 16.4 MB, free: 6.504 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.001168/0.001168, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 65.53 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 76.18 MB / 0.632 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.00468/0.1429, allocations: 3.703 MB / 0.6357 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1451, allocations: 1.325 MB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.1455, allocations: 27.88 kB / 0.637 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1458, allocations: 126.6 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1463, allocations: 170.5 kB / 0.6373 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1473, allocations: 0.5759 MB / 0.6378 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.1482, allocations: 0.9643 MB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.1487, allocations: 345.6 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.1491, allocations: 374.3 kB / 0.6395 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.1494, allocations: 358.1 kB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1496, allocations: 76 kB / 0.6399 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.1497, allocations: 80 kB / 0.6399 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1498, allocations: 179.3 kB / 0.6401 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.1501, allocations: 377.7 kB / 0.6405 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.1509, allocations: 0.895 MB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1509, allocations: 4 kB / 0.6414 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1509, allocations: 4 kB / 0.6414 GB, free: 10.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1509, allocations: 0 / 0.6414 GB, free: 10.86 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001978/0.1529, allocations: 1.183 MB / 0.6425 GB, free: 9.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.153, allocations: 8.031 kB / 0.6425 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1531, allocations: 95.81 kB / 0.6426 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.154, allocations: 0.6143 MB / 0.6432 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1541, allocations: 101 kB / 0.6433 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.1542, allocations: 52.38 kB / 0.6434 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.1552, allocations: 0.608 MB / 0.644 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1552, allocations: 0 / 0.644 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.1553, allocations: 20 kB / 0.644 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1553, allocations: 12 kB / 0.644 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.1562, allocations: 427.6 kB / 0.6444 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.1586, allocations: 2.102 MB / 0.6464 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1597, allocations: 0.4995 MB / 0.6469 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.1602, allocations: 208.8 kB / 0.6471 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1602, allocations: 9.078 kB / 0.6471 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.1608, allocations: 289.9 kB / 0.6474 GB, free: 4.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.1608, allocations: 0 / 0.6474 GB, free: 4.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001326/0.1621, allocations: 0.6073 MB / 0.648 GB, free: 3.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.1622, allocations: 92.8 kB / 0.6481 GB, free: 3.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.1628, allocations: 0.6099 MB / 0.6487 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.1629, allocations: 37.69 kB / 0.6487 GB, free: 3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1631, allocations: 352.9 kB / 0.6491 GB, free: 2.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1632, allocations: 157.7 kB / 0.6492 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1634, allocations: 98.16 kB / 0.6493 GB, free: 2.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1635, allocations: 329.9 kB / 0.6496 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.1639, allocations: 183 kB / 0.6498 GB, free: 1.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.1644, allocations: 280.2 kB / 0.6501 GB, free: 1.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.1653, allocations: 477.9 kB / 0.6505 GB, free: 1.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1653, allocations: 3.938 kB / 0.6505 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00108/0.1664, allocations: 0.5982 MB / 0.6511 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.1664, allocations: 34.95 kB / 0.6511 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1664, allocations: 0 / 0.6511 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1664, allocations: 4 kB / 0.6511 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.1669, allocations: 116.1 kB / 0.6513 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1669, allocations: 7.984 kB / 0.6513 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.1673, allocations: 55.52 kB / 0.6513 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.1673, allocations: 27.97 kB / 0.6513 GB, free: 204 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000516/0.1678, allocations: 308.7 kB / 0.6516 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000423/0.1683, allocations: 268.3 kB / 0.6519 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007595/0.169, allocations: 457.9 kB / 0.6523 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.1691, allocations: 0 / 0.6523 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009925/0.1701, allocations: 0.5787 MB / 0.6529 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1701, allocations: 37.69 kB / 0.6529 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1701, allocations: 4 kB / 0.6529 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.1701, allocations: 4 kB / 0.6529 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.1705, allocations: 95.89 kB / 0.653 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1705, allocations: 7.938 kB / 0.653 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.1709, allocations: 55.81 kB / 0.6531 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1709, allocations: 20 kB / 0.6531 GB, free: 14.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001694/0.1711, allocations: 224 kB / 0.6533 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.1712, allocations: 67.16 kB / 0.6534 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1714, allocations: 83.2 kB / 0.6535 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1714, allocations: 4 kB / 0.6535 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1714, allocations: 0 / 0.6535 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1714, allocations: 7.922 kB / 0.6535 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.172, allocations: 0.6219 MB / 0.6541 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.172, allocations: 8 kB / 0.6541 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.1725, allocations: 79.89 kB / 0.6542 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1725, allocations: 3.984 kB / 0.6542 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1725, allocations: 12 kB / 0.6542 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1725, allocations: 7.938 kB / 0.6542 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1725, allocations: 0 / 0.6542 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1739, allocations: 0.7236 MB / 0.6549 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.1741, allocations: 196 kB / 0.6551 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.1742, allocations: 8 kB / 0.6551 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.1746, allocations: 43.95 kB / 0.6551 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.1747, allocations: 27.91 kB / 0.6552 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.1747, allocations: 19.98 kB / 0.6552 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00044/0.1751, allocations: 431 kB / 0.6556 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1752, allocations: 0 / 0.6556 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005275/0.1757, allocations: 215.3 kB / 0.6558 GB, free: 11.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001249/0.1758, allocations: 123.1 kB / 0.6559 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.1772, allocations: 0.7815 MB / 0.6567 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1773, allocations: 0 / 0.6567 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.1777, allocations: 215.9 kB / 0.6569 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.1785, allocations: 195 kB / 0.6571 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1803, allocations: 1.176 MB / 0.6582 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1807, allocations: 0.9141 MB / 0.6591 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.181, allocations: 101.1 kB / 0.6592 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1811, allocations: 43.44 kB / 0.6592 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1812, allocations: 0 / 0.6592 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.01273/0.1939, allocations: 7.658 MB / 0.6667 GB, free: 260 kB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)