Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_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.001427/0.001427, allocations: 108 kB / 15.61 MB, free: 152 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.001277/0.001277, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8624/0.8624, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 60.34 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1399, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004461/0.1444, allocations: 3.699 MB / 0.5881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1464, allocations: 1.321 MB / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.1467, allocations: 31.81 kB / 0.5894 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.147, allocations: 126.7 kB / 0.5895 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.1474, allocations: 174.5 kB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.1483, allocations: 0.5728 MB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.1491, allocations: 0.9604 MB / 0.5912 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.1496, allocations: 357.6 kB / 0.5915 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1499, allocations: 354.5 kB / 0.5919 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1502, allocations: 350.1 kB / 0.5922 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1503, allocations: 80 kB / 0.5923 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.1504, allocations: 76 kB / 0.5923 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1505, allocations: 187.2 kB / 0.5925 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.1508, allocations: 373.7 kB / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.1514, allocations: 0.8527 MB / 0.5937 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1514, allocations: 7.938 kB / 0.5937 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.295e-06/0.1515, allocations: 0 / 0.5937 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1515, allocations: 3.938 kB / 0.5937 GB, free: 10.95 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.001743/0.1532, allocations: 1.187 MB / 0.5949 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1533, allocations: 11.97 kB / 0.5949 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.863e-05/0.1534, allocations: 94.7 kB / 0.595 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1535, allocations: 95.81 kB / 0.5951 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.1543, allocations: 0.5909 MB / 0.5957 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/0.1544, allocations: 96.97 kB / 0.5957 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.1545, allocations: 52.38 kB / 0.5958 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.1554, allocations: 0.6039 MB / 0.5964 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1554, allocations: 4 kB / 0.5964 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1555, allocations: 20 kB / 0.5964 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1555, allocations: 16 kB / 0.5964 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.1563, allocations: 419.6 kB / 0.5968 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.1587, allocations: 2.118 MB / 0.5989 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1598, allocations: 0.4951 MB / 0.5994 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.1602, allocations: 223.1 kB / 0.5996 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1602, allocations: 12 kB / 0.5996 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/0.1608, allocations: 270.2 kB / 0.5999 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.1609, allocations: 0 / 0.5999 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001281/0.1621, allocations: 0.6172 MB / 0.6005 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1622, allocations: 88.86 kB / 0.6005 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.1628, allocations: 0.6138 MB / 0.6011 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1629, allocations: 33.7 kB / 0.6012 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.1631, allocations: 356.9 kB / 0.6015 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1632, allocations: 157.8 kB / 0.6017 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1633, allocations: 94.16 kB / 0.6018 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1634, allocations: 330 kB / 0.6021 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.1638, allocations: 179 kB / 0.6022 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.1643, allocations: 284.1 kB / 0.6025 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.1651, allocations: 481.9 kB / 0.603 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1652, allocations: 0 / 0.603 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001033/0.1662, allocations: 0.5982 MB / 0.6036 GB, free: 472 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.1662, allocations: 37.69 kB / 0.6036 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1663, allocations: 0 / 0.6036 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1663, allocations: 8.312 kB / 0.6036 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.1667, allocations: 111.8 kB / 0.6037 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1667, allocations: 4 kB / 0.6037 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.1671, allocations: 63.44 kB / 0.6038 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.1671, allocations: 20 kB / 0.6038 GB, free: 220 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2051/0.3722, allocations: 306.2 kB / 0.6041 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004304/0.3726, allocations: 263.3 kB / 0.6043 GB, free: 52.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007158/0.3734, allocations: 455.4 kB / 0.6048 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.3734, allocations: 4.844 kB / 0.6048 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009455/0.3743, allocations: 0.5796 MB / 0.6053 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3744, allocations: 34.27 kB / 0.6054 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3744, allocations: 0.6875 kB / 0.6054 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.3744, allocations: 5.531 kB / 0.6054 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.3748, allocations: 105.8 kB / 0.6055 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3748, allocations: 9.578 kB / 0.6055 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3751, allocations: 52.69 kB / 0.6055 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3752, allocations: 17.53 kB / 0.6056 GB, free: 51.91 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.0001334/0.3753, allocations: 212.8 kB / 0.6058 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.3754, allocations: 72.12 kB / 0.6058 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.3755, allocations: 85.2 kB / 0.6059 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3755, allocations: 3.344 kB / 0.6059 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3756, allocations: 0 / 0.6059 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3756, allocations: 10.31 kB / 0.6059 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.376, allocations: 0.6222 MB / 0.6065 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.376, allocations: 0 / 0.6065 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3764, allocations: 87.77 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3764, allocations: 6.312 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.3765, allocations: 9.625 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3765, allocations: 2.75 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3765, allocations: 0 / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.3776, allocations: 0.7266 MB / 0.6073 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3778, allocations: 190.8 kB / 0.6075 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.3779, allocations: 11.12 kB / 0.6075 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.3782, allocations: 34.95 kB / 0.6076 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.3783, allocations: 36.94 kB / 0.6076 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.3784, allocations: 19.3 kB / 0.6076 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003383/0.3787, allocations: 430.8 kB / 0.608 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3787, allocations: 3.938 kB / 0.608 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004728/0.3792, allocations: 213.4 kB / 0.6082 GB, free: 51.02 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.001291/0.3805, allocations: 1.276 MB / 0.6095 GB, free: 50.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3818, allocations: 0.7965 MB / 0.6103 GB, free: 49.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3818, allocations: 8.453 kB / 0.6103 GB, free: 49.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.3822, allocations: 212.2 kB / 0.6105 GB, free: 49.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.3829, allocations: 208.7 kB / 0.6107 GB, free: 49.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.3885, allocations: 5.628 MB / 0.6162 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3887, allocations: 0.911 MB / 0.6171 GB, free: 45.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.389, allocations: 99.41 kB / 0.6172 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3893, allocations: 261.5 kB / 0.6174 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.3893, allocations: 0 / 0.6174 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.733/2.122, allocations: 13.83 MB / 0.6309 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/10.41, allocations: 8.594 kB / 0.6309 GB, free: 44.63 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)