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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009764, allocations: 98.22 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 174.9 kB / 16.56 MB, free: 6.387 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.274/1.274, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6051/0.6051, allocations: 113.7 MB / 405.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002928, allocations: 11.98 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003107/0.1424, allocations: 3.119 MB / 0.5598 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1442, allocations: 1.196 MB / 0.5609 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.1444, allocations: 27.81 kB / 0.561 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.629e-05/0.1445, allocations: 51.38 kB / 0.561 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.145, allocations: 191.4 kB / 0.5612 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.146, allocations: 469.3 kB / 0.5616 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.1467, allocations: 0.5983 MB / 0.5622 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.147, allocations: 251.1 kB / 0.5625 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.1474, allocations: 298.5 kB / 0.5627 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1476, allocations: 262.4 kB / 0.563 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1477, allocations: 24 kB / 0.563 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.445e-05/0.1478, allocations: 20 kB / 0.563 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.1479, allocations: 107.4 kB / 0.5631 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.148, allocations: 141.3 kB / 0.5633 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1484, allocations: 0.6158 MB / 0.5639 GB, free: 4.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.1484, allocations: 0 / 0.5639 GB, free: 4.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1485, allocations: 4 kB / 0.5639 GB, free: 4.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1485, allocations: 0 / 0.5639 GB, free: 4.312 MB / 430.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.001628/0.1501, allocations: 1.063 MB / 0.5649 GB, free: 3.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1501, allocations: 8.031 kB / 0.5649 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1503, allocations: 90.52 kB / 0.565 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1504, allocations: 94.88 kB / 0.5651 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.1512, allocations: 0.563 MB / 0.5656 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.1513, allocations: 104.4 kB / 0.5657 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.1514, allocations: 52 kB / 0.5658 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/0.1524, allocations: 0.6079 MB / 0.5664 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1524, allocations: 4 kB / 0.5664 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1525, allocations: 24 kB / 0.5664 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1525, allocations: 15.98 kB / 0.5664 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.1534, allocations: 439.6 kB / 0.5669 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.1558, allocations: 2.133 MB / 0.5689 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.157, allocations: 0.5302 MB / 0.5695 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.157, allocations: 4 kB / 0.5695 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/0.1577, allocations: 294.1 kB / 0.5697 GB, free: 14.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.1577, allocations: 0 / 0.5697 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001319/0.159, allocations: 0.6405 MB / 0.5704 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1591, allocations: 84.86 kB / 0.5704 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.1597, allocations: 0.6137 MB / 0.571 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.1597, allocations: 33.7 kB / 0.5711 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.16, allocations: 352.8 kB / 0.5714 GB, free: 12.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1601, allocations: 157.7 kB / 0.5716 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1601, allocations: 12 kB / 0.5716 GB, free: 12.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1602, allocations: 326 kB / 0.5719 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.1606, allocations: 185 kB / 0.5721 GB, free: 11.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.1611, allocations: 280.3 kB / 0.5723 GB, free: 11.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.1615, allocations: 238.5 kB / 0.5726 GB, free: 11.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1615, allocations: 3.938 kB / 0.5726 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001043/0.1626, allocations: 0.606 MB / 0.5732 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.1629, allocations: 0.9932 MB / 0.5741 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1629, allocations: 7.938 kB / 0.5741 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.163, allocations: 7.953 kB / 0.5741 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.1634, allocations: 107.9 kB / 0.5742 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1634, allocations: 15.92 kB / 0.5743 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1638, allocations: 76.5 kB / 0.5743 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1638, allocations: 20 kB / 0.5743 GB, free: 9.137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.1638, allocations: 4 kB / 0.5743 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008773/0.1647, allocations: 0.4998 MB / 0.5748 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1647, allocations: 4 kB / 0.5748 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-06/0.1647, allocations: 4 kB / 0.5748 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.1652, allocations: 108.2 kB / 0.5749 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1652, allocations: 7.938 kB / 0.575 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.1655, allocations: 59.52 kB / 0.575 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.1655, allocations: 23.98 kB / 0.575 GB, free: 8.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002404/0.1658, allocations: 279.5 kB / 0.5753 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.1659, allocations: 71.06 kB / 0.5754 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.166, allocations: 83.22 kB / 0.5754 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.166, allocations: 7.984 kB / 0.5755 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.166, allocations: 0 / 0.5755 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.166, allocations: 3.984 kB / 0.5755 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.1666, allocations: 0.6219 MB / 0.5761 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1666, allocations: 7.938 kB / 0.5761 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.1671, allocations: 87.88 kB / 0.5762 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1671, allocations: 4 kB / 0.5762 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1671, allocations: 8 kB / 0.5762 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1671, allocations: 4 kB / 0.5762 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1671, allocations: 0 / 0.5762 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1685, allocations: 0.755 MB / 0.5769 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.1687, allocations: 184.2 kB / 0.5771 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.1687, allocations: 15.98 kB / 0.5771 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.1691, allocations: 39.97 kB / 0.5771 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.1692, allocations: 35.89 kB / 0.5772 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.1693, allocations: 19.98 kB / 0.5772 GB, free: 6.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004188/0.1697, allocations: 427 kB / 0.5776 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1697, allocations: 0 / 0.5776 GB, free: 5.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.1702, allocations: 215.3 kB / 0.5778 GB, free: 5.488 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/0.1719, allocations: 1.308 MB / 0.5791 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1733, allocations: 0.8082 MB / 0.5799 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1734, allocations: 0 / 0.5799 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1738, allocations: 224.4 kB / 0.5801 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.1746, allocations: 173.1 kB / 0.5803 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2216/0.3962, allocations: 3.29 MB / 0.5835 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3966, allocations: 0.9306 MB / 0.5844 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004568/0.3971, allocations: 93.03 kB / 0.5845 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.3974, allocations: 261.2 kB / 0.5847 GB, free: 31.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3974, allocations: 0 / 0.5847 GB, free: 31.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3746/0.772, allocations: 12.81 MB / 0.5972 GB, free: 29.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.7722, allocations: 173.9 kB / 0.5974 GB, free: 28.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.548, allocations: 3.812 kB / 0.5974 GB, free: 28.89 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: