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.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 190 kB / 16.14 MB, free: 6.688 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8785/0.8785, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 68.91 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1516, allocations: 80.92 MB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004397/0.156, allocations: 3.722 MB / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1581, allocations: 1.286 MB / 0.5887 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.1584, allocations: 27.88 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1587, allocations: 95.09 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.1591, allocations: 146.5 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.1601, allocations: 0.5191 MB / 0.5894 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007496/0.1608, allocations: 0.9133 MB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.1613, allocations: 337.6 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.1616, allocations: 314.3 kB / 0.591 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.1619, allocations: 334 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.658e-05/0.162, allocations: 40 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.1621, allocations: 39.94 kB / 0.5914 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1622, allocations: 143.2 kB / 0.5915 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.1625, allocations: 333.7 kB / 0.5918 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.1631, allocations: 0.8098 MB / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1631, allocations: 0 / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1631, allocations: 0 / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1631, allocations: 0 / 0.5926 GB, free: 11.84 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.001856/0.165, allocations: 1.187 MB / 0.5938 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.165, allocations: 12.03 kB / 0.5938 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.38e-05/0.1651, allocations: 90.7 kB / 0.5939 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1653, allocations: 91.81 kB / 0.5939 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.1661, allocations: 0.5948 MB / 0.5945 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1662, allocations: 109 kB / 0.5946 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.1663, allocations: 52.38 kB / 0.5947 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.1673, allocations: 0.6039 MB / 0.5953 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1673, allocations: 0 / 0.5953 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.1673, allocations: 20 kB / 0.5953 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1674, allocations: 12 kB / 0.5953 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.1683, allocations: 427.6 kB / 0.5957 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.1707, allocations: 2.114 MB / 0.5978 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1719, allocations: 0.4997 MB / 0.5983 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.1723, allocations: 212.8 kB / 0.5985 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.1724, allocations: 7.938 kB / 0.5985 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/0.173, allocations: 286.2 kB / 0.5987 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.173, allocations: 0 / 0.5987 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001347/0.1744, allocations: 0.6045 MB / 0.5993 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.1745, allocations: 92.86 kB / 0.5994 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.1751, allocations: 0.6138 MB / 0.6 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.1751, allocations: 33.7 kB / 0.6001 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.1754, allocations: 356.9 kB / 0.6004 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1755, allocations: 153.8 kB / 0.6005 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1757, allocations: 102.1 kB / 0.6006 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1758, allocations: 326 kB / 0.601 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1762, allocations: 183 kB / 0.6011 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.1767, allocations: 277.3 kB / 0.6014 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.1775, allocations: 481.8 kB / 0.6019 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1775, allocations: 0 / 0.6019 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001063/0.1786, allocations: 0.5983 MB / 0.6024 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.1787, allocations: 29.7 kB / 0.6025 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1787, allocations: 7.938 kB / 0.6025 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1787, allocations: 4 kB / 0.6025 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.1791, allocations: 107.8 kB / 0.6026 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1792, allocations: 20.17 kB / 0.6026 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1795, allocations: 55.52 kB / 0.6026 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1796, allocations: 23.98 kB / 0.6027 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004989/0.1801, allocations: 305.2 kB / 0.603 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004134/0.1805, allocations: 272.2 kB / 0.6032 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007347/0.1812, allocations: 446 kB / 0.6036 GB, free: 28 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.1812, allocations: 4 kB / 0.6037 GB, free: 24 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.2308/0.4121, allocations: 0.5778 MB / 0.6042 GB, free: 51.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4121, allocations: 34.45 kB / 0.6042 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4121, allocations: 1.156 kB / 0.6042 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/0.4121, allocations: 6.031 kB / 0.6043 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.4126, allocations: 107 kB / 0.6044 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4126, allocations: 8.969 kB / 0.6044 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.4129, allocations: 49.38 kB / 0.6044 GB, free: 51.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.413, allocations: 19.12 kB / 0.6044 GB, free: 51.96 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.0001611/0.4131, allocations: 216.6 kB / 0.6046 GB, free: 51.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.4132, allocations: 70.5 kB / 0.6047 GB, free: 51.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.4134, allocations: 80.41 kB / 0.6048 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4134, allocations: 5.906 kB / 0.6048 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4134, allocations: 3.422 kB / 0.6048 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4134, allocations: 0.625 kB / 0.6048 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.4139, allocations: 0.6234 MB / 0.6054 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4139, allocations: 0 / 0.6054 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.4144, allocations: 81.22 kB / 0.6055 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4144, allocations: 7.219 kB / 0.6055 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4144, allocations: 9.375 kB / 0.6055 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4144, allocations: 1.125 kB / 0.6055 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4144, allocations: 6.969 kB / 0.6055 GB, free: 51.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4156, allocations: 0.7308 MB / 0.6062 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.4158, allocations: 199.1 kB / 0.6064 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.4159, allocations: 6.781 kB / 0.6064 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.4162, allocations: 33.5 kB / 0.6064 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.4163, allocations: 35.73 kB / 0.6065 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4164, allocations: 19.92 kB / 0.6065 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003922/0.4168, allocations: 429.1 kB / 0.6069 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4168, allocations: 0 / 0.6069 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005102/0.4173, allocations: 214.8 kB / 0.6071 GB, free: 51.26 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.001359/0.4187, allocations: 1.287 MB / 0.6084 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4199, allocations: 0.7825 MB / 0.6091 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4199, allocations: 2.938 kB / 0.6091 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.4203, allocations: 220.3 kB / 0.6093 GB, free: 50.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.4211, allocations: 194.8 kB / 0.6095 GB, free: 50.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.4274, allocations: 5.84 MB / 0.6152 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4277, allocations: 0.917 MB / 0.6161 GB, free: 45.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.428, allocations: 94.11 kB / 0.6162 GB, free: 45.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.4283, allocations: 257 kB / 0.6165 GB, free: 45.75 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.4283, allocations: 0 / 0.6165 GB, free: 45.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6193/1.048, allocations: 13.34 MB / 0.6295 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.048, allocations: 187.5 kB / 0.6297 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.194, allocations: 0 / 0.6297 GB, free: 44.56 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)