Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_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.05361/0.05361, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.004653/0.004653, allocations: 197 kB / 16.68 MB, free: 5.926 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.662/1.662, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9525/0.9525, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.73 kB / 0.5808 GB, free: 24.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 80.21 MB / 0.6592 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004628/0.1343, allocations: 3.704 MB / 0.6628 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1368, allocations: 1.328 MB / 0.6641 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005868/0.1374, allocations: 23.88 kB / 0.6641 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1379, allocations: 126.6 kB / 0.6642 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007195/0.1386, allocations: 174.5 kB / 0.6644 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1399, allocations: 0.5746 MB / 0.6649 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.141, allocations: 0.9642 MB / 0.6659 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.1416, allocations: 349.6 kB / 0.6662 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.1422, allocations: 378.4 kB / 0.6666 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1426, allocations: 350.1 kB / 0.6669 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.1428, allocations: 76 kB / 0.667 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1429, allocations: 84 kB / 0.6671 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1431, allocations: 179.2 kB / 0.6672 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.1434, allocations: 385.7 kB / 0.6676 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.1443, allocations: 0.8947 MB / 0.6685 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1443, allocations: 0 / 0.6685 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1443, allocations: 0 / 0.6685 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.1443, allocations: 0 / 0.6685 GB, free: 1.316 MB / 0.4981 GB 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.002174/0.1465, allocations: 1.187 MB / 0.6696 GB, free: 76 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1465, allocations: 8.031 kB / 0.6696 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.1467, allocations: 90.78 kB / 0.6697 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.1468, allocations: 99.81 kB / 0.6698 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1479, allocations: 0.6104 MB / 0.6704 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.148, allocations: 101 kB / 0.6705 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.1481, allocations: 56.38 kB / 0.6706 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1491, allocations: 0.6078 MB / 0.6712 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1492, allocations: 0 / 0.6712 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.1492, allocations: 20 kB / 0.6712 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1492, allocations: 16 kB / 0.6712 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/0.1502, allocations: 419.7 kB / 0.6716 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.1529, allocations: 2.098 MB / 0.6736 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.154, allocations: 0.5015 MB / 0.6741 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1545, allocations: 216.9 kB / 0.6743 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1545, allocations: 8 kB / 0.6744 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006131/0.1552, allocations: 289.8 kB / 0.6746 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.1552, allocations: 0 / 0.6746 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001383/0.1566, allocations: 0.6101 MB / 0.6752 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.1566, allocations: 84.86 kB / 0.6753 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.1573, allocations: 0.6061 MB / 0.6759 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.1573, allocations: 37.7 kB / 0.6759 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.1576, allocations: 356.8 kB / 0.6763 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1577, allocations: 157.8 kB / 0.6764 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1579, allocations: 102.1 kB / 0.6765 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.158, allocations: 322 kB / 0.6768 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.1584, allocations: 183 kB / 0.677 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.1589, allocations: 284.2 kB / 0.6773 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.1598, allocations: 477.9 kB / 0.6777 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1598, allocations: 0 / 0.6777 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001144/0.1609, allocations: 0.6061 MB / 0.6783 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.161, allocations: 33.7 kB / 0.6784 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.161, allocations: 0 / 0.6784 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.161, allocations: 8 kB / 0.6784 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.1615, allocations: 111.8 kB / 0.6785 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1615, allocations: 8.25 kB / 0.6785 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.1619, allocations: 63.41 kB / 0.6785 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.1619, allocations: 20 kB / 0.6786 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005179/0.1625, allocations: 314 kB / 0.6789 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004164/0.1629, allocations: 264.2 kB / 0.6791 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007601/0.1636, allocations: 454 kB / 0.6795 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.1637, allocations: 3.984 kB / 0.6795 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001028/0.1647, allocations: 0.5827 MB / 0.6801 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1647, allocations: 35.27 kB / 0.6801 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1647, allocations: 4 kB / 0.6802 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.1648, allocations: 4 kB / 0.6802 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.1652, allocations: 103.8 kB / 0.6803 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1652, allocations: 11.94 kB / 0.6803 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.1656, allocations: 51.56 kB / 0.6803 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1656, allocations: 20.16 kB / 0.6803 GB, free: 4.641 MB / 0.5137 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.0001593/0.1658, allocations: 222.4 kB / 0.6805 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1659, allocations: 67.16 kB / 0.6806 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.166, allocations: 83.2 kB / 0.6807 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1661, allocations: 4 kB / 0.6807 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1661, allocations: 0 / 0.6807 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1661, allocations: 4 kB / 0.6807 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.1667, allocations: 0.6218 MB / 0.6813 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1667, allocations: 0 / 0.6813 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.1672, allocations: 83.89 kB / 0.6814 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1672, allocations: 4 kB / 0.6814 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1672, allocations: 11.98 kB / 0.6814 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1672, allocations: 4 kB / 0.6814 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1672, allocations: 0 / 0.6814 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1686, allocations: 0.7247 MB / 0.6821 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.1689, allocations: 196 kB / 0.6823 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.169, allocations: 12.06 kB / 0.6823 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1693, allocations: 43.97 kB / 0.6824 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.1694, allocations: 27.95 kB / 0.6824 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.1695, allocations: 19.98 kB / 0.6824 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004591/0.1699, allocations: 431 kB / 0.6828 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1699, allocations: 0 / 0.6828 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005773/0.1705, allocations: 211.4 kB / 0.683 GB, free: 1.805 MB / 0.5137 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.001658/0.1722, allocations: 1.288 MB / 0.6843 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.1737, allocations: 0.7816 MB / 0.685 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1737, allocations: 0 / 0.685 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.1742, allocations: 223.5 kB / 0.6852 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.1751, allocations: 189.4 kB / 0.6854 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.1825, allocations: 5.36 MB / 0.6907 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1829, allocations: 0.918 MB / 0.6916 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.1833, allocations: 97.05 kB / 0.6916 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.1836, allocations: 255.4 kB / 0.6919 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.1837, allocations: 4 kB / 0.6919 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.218, allocations: 14.29 MB / 0.7059 GB, free: 10.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.469, allocations: 3.938 kB / 0.7059 GB, free: 10.38 MB / 0.545 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)