Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_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.00136/0.00136, allocations: 108 kB / 15.61 MB, free: 148 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.001591/0.001591, allocations: 194.1 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.988/0.988, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 69.2 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005912/0.1599, allocations: 4.311 MB / 0.5887 GB, free: 80 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.1631, allocations: 1.582 MB / 0.5902 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.1639, allocations: 35.81 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.1645, allocations: 166.2 kB / 0.5904 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.1655, allocations: 222.1 kB / 0.5906 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.167, allocations: 0.6684 MB / 0.5913 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1685, allocations: 1.218 MB / 0.5925 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.1694, allocations: 0.5078 MB / 0.593 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.17, allocations: 454 kB / 0.5934 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.1706, allocations: 465.4 kB / 0.5938 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.1709, allocations: 100 kB / 0.5939 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.1711, allocations: 104 kB / 0.594 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.1714, allocations: 239 kB / 0.5943 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.1719, allocations: 485.1 kB / 0.5947 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1729, allocations: 1.117 MB / 0.5958 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1729, allocations: 0 / 0.5958 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1729, allocations: 3.938 kB / 0.5958 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.64e-05/0.173, allocations: 0 / 0.5958 GB, free: 8.723 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.002774/0.1758, allocations: 1.391 MB / 0.5972 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1758, allocations: 12.03 kB / 0.5972 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.176, allocations: 110.7 kB / 0.5973 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.1762, allocations: 131.4 kB / 0.5974 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1775, allocations: 0.7314 MB / 0.5981 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/0.1776, allocations: 80.27 kB / 0.5982 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.1777, allocations: 72.28 kB / 0.5983 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.179, allocations: 0.7366 MB / 0.599 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.179, allocations: 0 / 0.599 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.1791, allocations: 28 kB / 0.599 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1791, allocations: 23.98 kB / 0.5991 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1803, allocations: 0.5126 MB / 0.5996 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.1838, allocations: 2.275 MB / 0.6018 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.1853, allocations: 0.6171 MB / 0.6024 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.1858, allocations: 266.5 kB / 0.6026 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.1859, allocations: 16.53 kB / 0.6026 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007184/0.1866, allocations: 323 kB / 0.603 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.833e-06/0.1866, allocations: 0 / 0.603 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001624/0.1882, allocations: 0.7516 MB / 0.6037 GB, free: 436 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.1883, allocations: 97.55 kB / 0.6038 GB, free: 320 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2449/0.4332, allocations: 0.748 MB / 0.6045 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4334, allocations: 37.98 kB / 0.6045 GB, free: 52.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.4337, allocations: 437.9 kB / 0.605 GB, free: 52.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.4338, allocations: 201.7 kB / 0.6052 GB, free: 52.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.434, allocations: 111.2 kB / 0.6053 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.4341, allocations: 332.4 kB / 0.6056 GB, free: 51.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.4345, allocations: 208.2 kB / 0.6058 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.435, allocations: 303 kB / 0.6061 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.4358, allocations: 0.5038 MB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4358, allocations: 0 / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001102/0.4369, allocations: 0.6554 MB / 0.6072 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4369, allocations: 5.656 kB / 0.6072 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4369, allocations: 2.875 kB / 0.6072 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.437, allocations: 10.03 kB / 0.6072 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.4376, allocations: 144.5 kB / 0.6074 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4376, allocations: 14.09 kB / 0.6074 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.438, allocations: 69.78 kB / 0.6074 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.4381, allocations: 24.38 kB / 0.6075 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005015/0.4386, allocations: 356.3 kB / 0.6078 GB, free: 51.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003745/0.439, allocations: 288.7 kB / 0.6081 GB, free: 50.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000706/0.4397, allocations: 0.4914 MB / 0.6086 GB, free: 50.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.4397, allocations: 0 / 0.6086 GB, free: 50.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009793/0.4407, allocations: 0.6317 MB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.4407, allocations: 6.062 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4407, allocations: 3.859 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/0.4407, allocations: 3.344 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.4413, allocations: 139.7 kB / 0.6093 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4413, allocations: 12.84 kB / 0.6093 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.4417, allocations: 58.22 kB / 0.6094 GB, free: 50.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.4418, allocations: 26.5 kB / 0.6094 GB, free: 50.27 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.0001242/0.4419, allocations: 218.7 kB / 0.6096 GB, free: 50.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.442, allocations: 93.09 kB / 0.6097 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4422, allocations: 103.7 kB / 0.6098 GB, free: 49.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4422, allocations: 9.75 kB / 0.6098 GB, free: 49.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4422, allocations: 0 / 0.6098 GB, free: 49.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4422, allocations: 7.781 kB / 0.6098 GB, free: 49.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4439, allocations: 1.44 MB / 0.6112 GB, free: 49.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.444, allocations: 0 / 0.6112 GB, free: 49.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.4445, allocations: 103.7 kB / 0.6113 GB, free: 49.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4445, allocations: 2.625 kB / 0.6113 GB, free: 49.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4445, allocations: 13.5 kB / 0.6113 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4445, allocations: 3.781 kB / 0.6113 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4445, allocations: 0 / 0.6113 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4459, allocations: 0.9675 MB / 0.6123 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.4461, allocations: 219.1 kB / 0.6125 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.4462, allocations: 10.91 kB / 0.6125 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.4466, allocations: 40.48 kB / 0.6126 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.4467, allocations: 40.84 kB / 0.6126 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.4468, allocations: 19.16 kB / 0.6126 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004766/0.4472, allocations: 0.52 MB / 0.6131 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4473, allocations: 0 / 0.6131 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006145/0.4479, allocations: 269.4 kB / 0.6134 GB, free: 48.22 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.001503/0.4494, allocations: 1.524 MB / 0.6149 GB, free: 47.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.4509, allocations: 0.8174 MB / 0.6157 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4509, allocations: 0 / 0.6157 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.4514, allocations: 272.9 kB / 0.6159 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4524, allocations: 269.8 kB / 0.6162 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.4593, allocations: 6.961 MB / 0.623 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.4596, allocations: 0.9962 MB / 0.6239 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.4601, allocations: 119.2 kB / 0.6241 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.4604, allocations: 352.1 kB / 0.6244 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4604, allocations: 0 / 0.6244 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.382/1.843, allocations: 17.18 MB / 0.6412 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.38, allocations: 5.484 kB / 0.6412 GB, free: 40.52 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)