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.000801/0.000801, allocations: 92.7 kB / 15.7 MB, free: 472 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.0009281/0.0009279, allocations: 175.2 kB / 16.58 MB, free: 6.066 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: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6312/0.6312, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 9.094 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003417/0.1444, allocations: 3.115 MB / 0.5599 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1465, allocations: 1.255 MB / 0.5611 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.1469, allocations: 23.88 kB / 0.5612 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1471, allocations: 91.09 kB / 0.5613 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.1475, allocations: 127.1 kB / 0.5614 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.1485, allocations: 465.5 kB / 0.5618 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.1493, allocations: 0.82 MB / 0.5626 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.1497, allocations: 259 kB / 0.5629 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.15, allocations: 270.5 kB / 0.5631 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1503, allocations: 262.3 kB / 0.5634 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.1504, allocations: 20 kB / 0.5634 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.1505, allocations: 20 kB / 0.5634 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.1506, allocations: 107.4 kB / 0.5635 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1507, allocations: 141.2 kB / 0.5637 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.1512, allocations: 0.6236 MB / 0.5643 GB, free: 4.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1512, allocations: 4 kB / 0.5643 GB, free: 4.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1512, allocations: 0 / 0.5643 GB, free: 4.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1512, allocations: 0 / 0.5643 GB, free: 4.086 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.001632/0.1529, allocations: 1.071 MB / 0.5653 GB, free: 2.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1529, allocations: 8.031 kB / 0.5653 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.153, allocations: 90.52 kB / 0.5654 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1532, allocations: 98.88 kB / 0.5655 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.154, allocations: 0.563 MB / 0.5661 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1541, allocations: 100.4 kB / 0.5661 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.1542, allocations: 52 kB / 0.5662 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.1552, allocations: 0.6118 MB / 0.5668 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1552, allocations: 0 / 0.5668 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.1552, allocations: 20 kB / 0.5668 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1553, allocations: 16 kB / 0.5668 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.1561, allocations: 439.6 kB / 0.5672 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.1586, allocations: 2.145 MB / 0.5693 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1597, allocations: 0.5069 MB / 0.5698 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.1601, allocations: 224.8 kB / 0.5701 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.1602, allocations: 9.094 kB / 0.5701 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.1608, allocations: 290.2 kB / 0.5703 GB, free: 13.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.1608, allocations: 3.938 kB / 0.5703 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001287/0.1621, allocations: 0.6366 MB / 0.571 GB, free: 12.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.1622, allocations: 92.84 kB / 0.5711 GB, free: 12.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.1628, allocations: 0.6059 MB / 0.5716 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1628, allocations: 37.7 kB / 0.5717 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1631, allocations: 356.8 kB / 0.572 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1632, allocations: 149.8 kB / 0.5722 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.1632, allocations: 12 kB / 0.5722 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1634, allocations: 333.9 kB / 0.5725 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.1637, allocations: 181 kB / 0.5727 GB, free: 11.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1642, allocations: 288.2 kB / 0.5729 GB, free: 10.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.1646, allocations: 238.4 kB / 0.5732 GB, free: 10.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1647, allocations: 0 / 0.5732 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001039/0.1657, allocations: 0.6138 MB / 0.5738 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1658, allocations: 195.3 kB / 0.574 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1658, allocations: 4 kB / 0.574 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1659, allocations: 4 kB / 0.574 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1663, allocations: 111.8 kB / 0.5741 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1663, allocations: 4 kB / 0.5741 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.1667, allocations: 75.41 kB / 0.5741 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.1667, allocations: 20 kB / 0.5742 GB, free: 9.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.1667, allocations: 4 kB / 0.5742 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008672/0.1676, allocations: 0.4998 MB / 0.5747 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1676, allocations: 4 kB / 0.5747 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.1676, allocations: 4 kB / 0.5747 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.168, allocations: 112.1 kB / 0.5748 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.168, allocations: 11.92 kB / 0.5748 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1683, allocations: 67.45 kB / 0.5748 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.1683, allocations: 16 kB / 0.5749 GB, free: 8.812 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.0002771/0.1686, allocations: 265.8 kB / 0.5751 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.1687, allocations: 75.06 kB / 0.5752 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.1689, allocations: 87.2 kB / 0.5753 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1689, allocations: 4 kB / 0.5753 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1689, allocations: 0 / 0.5753 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1689, allocations: 3.953 kB / 0.5753 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006224/0.1695, allocations: 0.6219 MB / 0.5759 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1696, allocations: 0 / 0.5759 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.17, allocations: 87.89 kB / 0.576 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.17, allocations: 0 / 0.576 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.17, allocations: 12 kB / 0.576 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.17, allocations: 7.984 kB / 0.576 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.17, allocations: 7.922 kB / 0.576 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.1714, allocations: 0.7551 MB / 0.5767 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.1716, allocations: 184.2 kB / 0.5769 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.1717, allocations: 12.12 kB / 0.5769 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.172, allocations: 43.97 kB / 0.577 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.1721, allocations: 39.94 kB / 0.577 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1721, allocations: 12 kB / 0.577 GB, free: 6.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004536/0.1726, allocations: 427 kB / 0.5774 GB, free: 6.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1726, allocations: 0 / 0.5774 GB, free: 6.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005494/0.1732, allocations: 219.2 kB / 0.5776 GB, free: 5.883 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.001611/0.1748, allocations: 1.308 MB / 0.5789 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1762, allocations: 0.812 MB / 0.5797 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1762, allocations: 4 kB / 0.5797 GB, free: 3.703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.1766, allocations: 220.5 kB / 0.5799 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.1774, allocations: 176.8 kB / 0.5801 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2735/0.4509, allocations: 3.995 MB / 0.584 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4513, allocations: 0.9174 MB / 0.5849 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000468/0.4518, allocations: 90.52 kB / 0.585 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.4522, allocations: 259.1 kB / 0.5852 GB, free: 31.38 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4522, allocations: 1.344 kB / 0.5852 GB, free: 31.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4837, allocations: 13.23 MB / 0.5981 GB, free: 28.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.4838, allocations: 180 kB / 0.5983 GB, free: 28.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.43, allocations: 0.9688 kB / 0.5983 GB, free: 28.61 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: