Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.001241/0.001241, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001117/0.001117, allocations: 198.6 kB / 16.26 MB, free: 6.625 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.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6773/0.6773, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001125, allocations: 59.69 kB / 0.5013 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 80.21 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005014/0.1346, allocations: 4.321 MB / 0.5839 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.1373, allocations: 1.539 MB / 0.5854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006589/0.138, allocations: 35.81 kB / 0.5854 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.1385, allocations: 122.9 kB / 0.5855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007661/0.1392, allocations: 178.7 kB / 0.5857 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1405, allocations: 0.6124 MB / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1418, allocations: 1.23 MB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.1425, allocations: 0.5079 MB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.143, allocations: 461.8 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.1434, allocations: 465.4 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1435, allocations: 100 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1436, allocations: 104 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1438, allocations: 235.1 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.1441, allocations: 493 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.1449, allocations: 1.117 MB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1449, allocations: 0 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1449, allocations: 0 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1449, allocations: 0 / 0.5909 GB, free: 13.48 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001977/0.1469, allocations: 1.395 MB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.147, allocations: 8.031 kB / 0.5922 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1471, allocations: 118.7 kB / 0.5924 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1472, allocations: 123.4 kB / 0.5925 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/0.1482, allocations: 0.7275 MB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.1483, allocations: 88.2 kB / 0.5933 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.1484, allocations: 72.28 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1495, allocations: 0.7366 MB / 0.5941 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.1495, allocations: 0 / 0.5941 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.1496, allocations: 28 kB / 0.5941 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1496, allocations: 20 kB / 0.5941 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.1505, allocations: 0.5126 MB / 0.5946 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.1533, allocations: 2.275 MB / 0.5968 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1545, allocations: 0.6154 MB / 0.5974 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.155, allocations: 272 kB / 0.5977 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.1551, allocations: 12.55 kB / 0.5977 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.1557, allocations: 323.1 kB / 0.598 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.1557, allocations: 0 / 0.598 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001387/0.1571, allocations: 0.7555 MB / 0.5987 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1571, allocations: 89.61 kB / 0.5988 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.1579, allocations: 0.7517 MB / 0.5996 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.1579, allocations: 41.64 kB / 0.5996 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.1582, allocations: 440.5 kB / 0.6 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1584, allocations: 205 kB / 0.6002 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1585, allocations: 106.3 kB / 0.6003 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.1586, allocations: 334 kB / 0.6006 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.159, allocations: 203.4 kB / 0.6008 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.1595, allocations: 304.5 kB / 0.6011 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.1603, allocations: 0.5075 MB / 0.6016 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1603, allocations: 4 kB / 0.6016 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001055/0.1614, allocations: 0.6541 MB / 0.6023 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1614, allocations: 15.98 kB / 0.6023 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1614, allocations: 0 / 0.6023 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1614, allocations: 8 kB / 0.6023 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.162, allocations: 139.8 kB / 0.6024 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.162, allocations: 11.88 kB / 0.6024 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.1624, allocations: 75.34 kB / 0.6025 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.1624, allocations: 20 kB / 0.6025 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005257/0.163, allocations: 361.4 kB / 0.6029 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004097/0.1634, allocations: 296.4 kB / 0.6031 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1967/0.3601, allocations: 491.7 kB / 0.6036 GB, free: 55.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.3602, allocations: 0 / 0.6036 GB, free: 55.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001128/0.3613, allocations: 0.6303 MB / 0.6042 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.3613, allocations: 5.25 kB / 0.6042 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3613, allocations: 2.688 kB / 0.6042 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.3613, allocations: 6.25 kB / 0.6042 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3619, allocations: 141.7 kB / 0.6044 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3619, allocations: 6.312 kB / 0.6044 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.3622, allocations: 57.72 kB / 0.6044 GB, free: 55.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.3623, allocations: 25.48 kB / 0.6045 GB, free: 55.35 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001338/0.3624, allocations: 216.1 kB / 0.6047 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.3625, allocations: 94.25 kB / 0.6048 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.3627, allocations: 104.7 kB / 0.6049 GB, free: 55.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3627, allocations: 6.469 kB / 0.6049 GB, free: 55.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3627, allocations: 2.906 kB / 0.6049 GB, free: 55.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3627, allocations: 3.375 kB / 0.6049 GB, free: 55.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.3642, allocations: 1.44 MB / 0.6063 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3642, allocations: 0 / 0.6063 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.3647, allocations: 106 kB / 0.6064 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3647, allocations: 2.969 kB / 0.6064 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3647, allocations: 14.06 kB / 0.6064 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3647, allocations: 2.938 kB / 0.6064 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3648, allocations: 0 / 0.6064 GB, free: 54.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.366, allocations: 0.9657 MB / 0.6073 GB, free: 54.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.3661, allocations: 224.2 kB / 0.6076 GB, free: 54.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.3662, allocations: 10.81 kB / 0.6076 GB, free: 54.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.3666, allocations: 35 kB / 0.6076 GB, free: 54.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.3667, allocations: 38.2 kB / 0.6076 GB, free: 54.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.3667, allocations: 20.69 kB / 0.6077 GB, free: 54.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004074/0.3672, allocations: 0.5122 MB / 0.6082 GB, free: 54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3672, allocations: 1.203 kB / 0.6082 GB, free: 54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005231/0.3677, allocations: 280.3 kB / 0.6084 GB, free: 53.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001341/0.369, allocations: 1.522 MB / 0.6099 GB, free: 52.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.3704, allocations: 0.8157 MB / 0.6107 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3704, allocations: 3.094 kB / 0.6107 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.3708, allocations: 272.6 kB / 0.611 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.3717, allocations: 266.9 kB / 0.6112 GB, free: 52.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/0.3786, allocations: 7.278 MB / 0.6183 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3789, allocations: 0.9895 MB / 0.6193 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.3793, allocations: 118 kB / 0.6194 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3796, allocations: 346.6 kB / 0.6197 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3796, allocations: 0 / 0.6197 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.499/2.878, allocations: 17.01 MB / 0.6363 GB, free: 46.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/2.878, allocations: 190.4 kB / 0.6365 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/5.116, allocations: 3.281 kB / 0.6365 GB, free: 45.91 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)