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.05001/0.05001, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001315/0.001316, allocations: 193.4 kB / 16.68 MB, free: 5.973 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.976/0.976, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 66.48 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 80.22 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004584/0.1357, allocations: 3.702 MB / 0.6628 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1383, allocations: 1.321 MB / 0.6641 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006426/0.139, allocations: 31.81 kB / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1395, allocations: 134.6 kB / 0.6642 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.1402, allocations: 169.8 kB / 0.6644 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1415, allocations: 0.5736 MB / 0.6649 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.1426, allocations: 0.9603 MB / 0.6659 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.1432, allocations: 353.6 kB / 0.6662 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.1437, allocations: 370.4 kB / 0.6666 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.144, allocations: 358.1 kB / 0.6669 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1441, allocations: 76 kB / 0.667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.1442, allocations: 80 kB / 0.6671 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1443, allocations: 183.2 kB / 0.6672 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.1446, allocations: 377.7 kB / 0.6676 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.1454, allocations: 0.8986 MB / 0.6685 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1454, allocations: 0 / 0.6685 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1454, allocations: 0 / 0.6685 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1454, allocations: 0 / 0.6685 GB, free: 1.223 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.00187/0.1473, allocations: 1.183 MB / 0.6696 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1474, allocations: 11.97 kB / 0.6696 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.47e-05/0.1475, allocations: 98.64 kB / 0.6697 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1476, allocations: 91.81 kB / 0.6698 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.1486, allocations: 0.6182 MB / 0.6704 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.1487, allocations: 92.97 kB / 0.6705 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.1487, allocations: 60.36 kB / 0.6706 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.1497, allocations: 0.6079 MB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1497, allocations: 0 / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.1498, allocations: 24 kB / 0.6712 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1498, allocations: 12 kB / 0.6712 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008522/0.1507, allocations: 427.6 kB / 0.6716 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.1532, allocations: 2.094 MB / 0.6737 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1543, allocations: 0.4977 MB / 0.6741 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.1547, allocations: 224.8 kB / 0.6744 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1547, allocations: 7.938 kB / 0.6744 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.1553, allocations: 278 kB / 0.6746 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.736e-06/0.1553, allocations: 0 / 0.6746 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001327/0.1567, allocations: 0.614 MB / 0.6752 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1567, allocations: 84.86 kB / 0.6753 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.1574, allocations: 0.6139 MB / 0.6759 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.1574, allocations: 33.7 kB / 0.6759 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1577, allocations: 360.8 kB / 0.6763 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1578, allocations: 153.8 kB / 0.6764 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1579, allocations: 94.16 kB / 0.6765 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.158, allocations: 330 kB / 0.6768 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.1584, allocations: 179 kB / 0.677 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.1589, allocations: 284.2 kB / 0.6773 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.1597, allocations: 481.9 kB / 0.6777 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1597, allocations: 0 / 0.6777 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001087/0.1608, allocations: 0.5905 MB / 0.6783 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1609, allocations: 41.69 kB / 0.6784 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1609, allocations: 4 kB / 0.6784 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1609, allocations: 4 kB / 0.6784 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.1613, allocations: 107.8 kB / 0.6785 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1614, allocations: 4 kB / 0.6785 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.1618, allocations: 71.66 kB / 0.6785 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.1618, allocations: 16 kB / 0.6786 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005197/0.1623, allocations: 310 kB / 0.6788 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003932/0.1627, allocations: 268.2 kB / 0.6791 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007283/0.1635, allocations: 453.9 kB / 0.6795 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.1635, allocations: 4 kB / 0.6795 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001005/0.1645, allocations: 0.5748 MB / 0.6801 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1645, allocations: 37.95 kB / 0.6801 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1645, allocations: 8 kB / 0.6801 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.1646, allocations: 7.938 kB / 0.6802 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.165, allocations: 103.9 kB / 0.6803 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.165, allocations: 7.938 kB / 0.6803 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.1654, allocations: 47.58 kB / 0.6803 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.1654, allocations: 23.98 kB / 0.6803 GB, free: 4.551 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.0001851/0.1656, allocations: 214 kB / 0.6805 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1657, allocations: 75.16 kB / 0.6806 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.1659, allocations: 79.22 kB / 0.6807 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1659, allocations: 7.938 kB / 0.6807 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1659, allocations: 4 kB / 0.6807 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1659, allocations: 3.984 kB / 0.6807 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.1665, allocations: 0.618 MB / 0.6813 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1665, allocations: 0 / 0.6813 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.167, allocations: 83.88 kB / 0.6814 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.167, allocations: 8 kB / 0.6814 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.167, allocations: 8 kB / 0.6814 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1671, allocations: 0 / 0.6814 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1671, allocations: 0 / 0.6814 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1684, allocations: 0.7364 MB / 0.6821 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.1687, allocations: 188 kB / 0.6823 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.1688, allocations: 12 kB / 0.6823 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.1691, allocations: 31.95 kB / 0.6823 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.1692, allocations: 35.95 kB / 0.6824 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.1693, allocations: 15.98 kB / 0.6824 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004877/0.1698, allocations: 435 kB / 0.6828 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1698, allocations: 0 / 0.6828 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006159/0.1704, allocations: 215.4 kB / 0.683 GB, free: 1.715 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.001649/0.1721, allocations: 1.277 MB / 0.6843 GB, free: 420 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.1736, allocations: 0.7894 MB / 0.685 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.1736, allocations: 4.125 kB / 0.685 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.174, allocations: 215.5 kB / 0.6852 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.175, allocations: 204.8 kB / 0.6854 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007558/0.1825, allocations: 5.367 MB / 0.6907 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.183, allocations: 0.918 MB / 0.6916 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000398/0.1834, allocations: 89.12 kB / 0.6916 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.1837, allocations: 263.3 kB / 0.6919 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.1838, allocations: 0 / 0.6919 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.2282, allocations: 14.28 MB / 0.7058 GB, free: 10.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.525, allocations: 3.938 kB / 0.7058 GB, free: 10.29 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)