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.001295/0.0013, allocations: 104.1 kB / 16.4 MB, free: 6.453 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.001363/0.001363, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.223/1.223, allocations: 222.9 MB / 241 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.6762/0.6762, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 58.03 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1363, allocations: 76.18 MB / 0.6316 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004798/0.1411, allocations: 3.69 MB / 0.6352 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1436, allocations: 1.328 MB / 0.6365 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006497/0.1443, allocations: 23.88 kB / 0.6365 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.1447, allocations: 130.5 kB / 0.6366 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.1455, allocations: 180.5 kB / 0.6368 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1467, allocations: 0.5786 MB / 0.6373 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1477, allocations: 0.9565 MB / 0.6383 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.1482, allocations: 353.6 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.1487, allocations: 378.3 kB / 0.639 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1491, allocations: 346.1 kB / 0.6393 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.1492, allocations: 80 kB / 0.6394 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1493, allocations: 80 kB / 0.6395 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1495, allocations: 183.3 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.1498, allocations: 377.7 kB / 0.64 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007791/0.1506, allocations: 0.8909 MB / 0.6409 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1506, allocations: 0 / 0.6409 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1506, allocations: 3.938 kB / 0.6409 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.1506, allocations: 0 / 0.6409 GB, free: 11.41 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.001961/0.1526, allocations: 1.187 MB / 0.642 GB, free: 10.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1526, allocations: 8.031 kB / 0.642 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.1527, allocations: 94.7 kB / 0.6421 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1529, allocations: 91.81 kB / 0.6422 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/0.1538, allocations: 0.6182 MB / 0.6428 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.1539, allocations: 101 kB / 0.6429 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.154, allocations: 52.36 kB / 0.643 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.155, allocations: 0.604 MB / 0.6435 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.155, allocations: 7.938 kB / 0.6436 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.1551, allocations: 20 kB / 0.6436 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1551, allocations: 12 kB / 0.6436 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.1559, allocations: 427.6 kB / 0.644 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1583, allocations: 2.094 MB / 0.646 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1594, allocations: 0.4995 MB / 0.6465 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.1598, allocations: 224.7 kB / 0.6467 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1599, allocations: 5.094 kB / 0.6467 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005648/0.1604, allocations: 282 kB / 0.647 GB, free: 4.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.1605, allocations: 0 / 0.647 GB, free: 4.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001264/0.1617, allocations: 0.6112 MB / 0.6476 GB, free: 4.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1618, allocations: 88.86 kB / 0.6477 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.1624, allocations: 0.6138 MB / 0.6483 GB, free: 3.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1625, allocations: 37.7 kB / 0.6483 GB, free: 3.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1627, allocations: 352.9 kB / 0.6487 GB, free: 3.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1628, allocations: 153.7 kB / 0.6488 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.163, allocations: 106.1 kB / 0.6489 GB, free: 2.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.163, allocations: 329.9 kB / 0.6492 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.1635, allocations: 183 kB / 0.6494 GB, free: 2.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.1639, allocations: 280.2 kB / 0.6497 GB, free: 2.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008071/0.1647, allocations: 481.9 kB / 0.6501 GB, free: 1.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1647, allocations: 0 / 0.6501 GB, free: 1.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00105/0.1658, allocations: 0.5943 MB / 0.6507 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.1658, allocations: 37.69 kB / 0.6507 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1658, allocations: 4 kB / 0.6508 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1659, allocations: 4 kB / 0.6508 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.1663, allocations: 104.2 kB / 0.6509 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.1663, allocations: 15.94 kB / 0.6509 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.1667, allocations: 59.5 kB / 0.6509 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1667, allocations: 20 kB / 0.6509 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004791/0.1672, allocations: 305.2 kB / 0.6512 GB, free: 356 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003837/0.1676, allocations: 264.3 kB / 0.6515 GB, free: 56 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007507/0.1684, allocations: 461.9 kB / 0.6519 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.1684, allocations: 4 kB / 0.6519 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001095/0.1695, allocations: 0.5749 MB / 0.6525 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1695, allocations: 33.7 kB / 0.6525 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1695, allocations: 4 kB / 0.6525 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.1696, allocations: 4 kB / 0.6525 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.17, allocations: 103.8 kB / 0.6526 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.17, allocations: 7.984 kB / 0.6526 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.1704, allocations: 51.58 kB / 0.6527 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.1705, allocations: 16.19 kB / 0.6527 GB, free: 14.75 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.0002231/0.1707, allocations: 224 kB / 0.6529 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1708, allocations: 71.16 kB / 0.653 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.171, allocations: 79.22 kB / 0.6531 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.171, allocations: 4 kB / 0.6531 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.171, allocations: 0 / 0.6531 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.171, allocations: 7.922 kB / 0.6531 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.1717, allocations: 0.618 MB / 0.6537 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1717, allocations: 4 kB / 0.6537 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.1722, allocations: 91.81 kB / 0.6538 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1722, allocations: 0 / 0.6538 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.1722, allocations: 8 kB / 0.6538 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1722, allocations: 0 / 0.6538 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1722, allocations: 0 / 0.6538 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1736, allocations: 0.7275 MB / 0.6545 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.1739, allocations: 196 kB / 0.6547 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.174, allocations: 12 kB / 0.6547 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1744, allocations: 39.89 kB / 0.6547 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.1745, allocations: 31.95 kB / 0.6548 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.1745, allocations: 15.98 kB / 0.6548 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004733/0.175, allocations: 431.1 kB / 0.6552 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.175, allocations: 0 / 0.6552 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005725/0.1756, allocations: 215.3 kB / 0.6554 GB, free: 11.91 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.001664/0.1773, allocations: 1.284 MB / 0.6566 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.1787, allocations: 0.7894 MB / 0.6574 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1787, allocations: 0 / 0.6574 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.1791, allocations: 211.5 kB / 0.6576 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.18, allocations: 216.4 kB / 0.6578 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.1875, allocations: 5.348 MB / 0.663 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.1879, allocations: 0.9219 MB / 0.6639 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.1883, allocations: 89.06 kB / 0.664 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.1886, allocations: 255.3 kB / 0.6643 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1886, allocations: 0 / 0.6643 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.2249, allocations: 14.31 MB / 0.6782 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.866, allocations: 4.062 kB / 0.6782 GB, free: 4.426 MB / 0.5137 GB (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/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)