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.00142/0.00142, 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.001899/0.001899, allocations: 194.2 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 61.58 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1684, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006542/0.1749, allocations: 4.318 MB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.1785, allocations: 1.578 MB / 0.5902 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1796, allocations: 35.81 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.1803, allocations: 162.2 kB / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.1814, allocations: 226.1 kB / 0.5906 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1831, allocations: 0.6699 MB / 0.5913 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1848, allocations: 1.226 MB / 0.5925 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.1858, allocations: 0.504 MB / 0.593 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.1865, allocations: 450 kB / 0.5934 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.1871, allocations: 461.4 kB / 0.5938 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.1874, allocations: 104 kB / 0.5939 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1876, allocations: 104 kB / 0.594 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.1878, allocations: 243 kB / 0.5943 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.1884, allocations: 485.1 kB / 0.5947 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.1896, allocations: 1.121 MB / 0.5958 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1896, allocations: 0 / 0.5958 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1896, allocations: 0 / 0.5958 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.65e-05/0.1896, allocations: 0 / 0.5958 GB, free: 8.762 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.003061/0.1927, allocations: 1.391 MB / 0.5972 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1928, allocations: 8.031 kB / 0.5972 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.193, allocations: 114.7 kB / 0.5973 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1932, allocations: 127.4 kB / 0.5974 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1945, allocations: 0.7314 MB / 0.5981 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.1946, allocations: 80.27 kB / 0.5982 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1947, allocations: 72.28 kB / 0.5983 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.1961, allocations: 0.7366 MB / 0.599 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.1961, allocations: 7.922 kB / 0.599 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.1962, allocations: 24 kB / 0.599 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.1962, allocations: 20 kB / 0.5991 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1974, allocations: 0.5126 MB / 0.5996 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.2012, allocations: 2.275 MB / 0.6018 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2027, allocations: 0.6172 MB / 0.6024 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.2033, allocations: 274.4 kB / 0.6026 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.2034, allocations: 4.562 kB / 0.6026 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/0.2041, allocations: 331 kB / 0.603 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/0.2041, allocations: 0 / 0.603 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001714/0.2059, allocations: 0.7555 MB / 0.6037 GB, free: 472 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.2059, allocations: 89.61 kB / 0.6038 GB, free: 364 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2937/0.4997, allocations: 0.7499 MB / 0.6045 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.4999, allocations: 35.98 kB / 0.6045 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5002, allocations: 437 kB / 0.605 GB, free: 52.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5003, allocations: 206.9 kB / 0.6052 GB, free: 51.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5004, allocations: 110.3 kB / 0.6053 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.5005, allocations: 331.2 kB / 0.6056 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.5009, allocations: 211.8 kB / 0.6058 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.5014, allocations: 299 kB / 0.6061 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.5022, allocations: 0.5072 MB / 0.6066 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5022, allocations: 0 / 0.6066 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001064/0.5033, allocations: 0.6588 MB / 0.6072 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5033, allocations: 6 kB / 0.6072 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5033, allocations: 2.906 kB / 0.6072 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5034, allocations: 5.625 kB / 0.6072 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.504, allocations: 147.8 kB / 0.6074 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.504, allocations: 6.656 kB / 0.6074 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.5044, allocations: 73.95 kB / 0.6074 GB, free: 51.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.5044, allocations: 24.17 kB / 0.6075 GB, free: 51.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005015/0.5049, allocations: 352.7 kB / 0.6078 GB, free: 50.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003735/0.5053, allocations: 293.8 kB / 0.6081 GB, free: 50.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007011/0.506, allocations: 0.4892 MB / 0.6086 GB, free: 50.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.506, allocations: 0 / 0.6086 GB, free: 50.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009176/0.507, allocations: 0.6338 MB / 0.6092 GB, free: 50.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.507, allocations: 5.75 kB / 0.6092 GB, free: 50.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.507, allocations: 2.938 kB / 0.6092 GB, free: 50.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.507, allocations: 6.406 kB / 0.6092 GB, free: 50.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.5075, allocations: 142.4 kB / 0.6093 GB, free: 50.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5076, allocations: 13.25 kB / 0.6093 GB, free: 50.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.5079, allocations: 52.69 kB / 0.6094 GB, free: 50.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.508, allocations: 21.52 kB / 0.6094 GB, free: 50.22 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.0001367/0.5081, allocations: 223.7 kB / 0.6096 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.5082, allocations: 97.31 kB / 0.6097 GB, free: 49.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.5084, allocations: 103.9 kB / 0.6098 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5084, allocations: 13.62 kB / 0.6098 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5084, allocations: 0 / 0.6098 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5084, allocations: 3.234 kB / 0.6098 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.5101, allocations: 1.437 MB / 0.6112 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5101, allocations: 0 / 0.6112 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.5106, allocations: 106.1 kB / 0.6113 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5106, allocations: 0 / 0.6113 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.5107, allocations: 14.55 kB / 0.6113 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5107, allocations: 3.344 kB / 0.6114 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5107, allocations: 2.969 kB / 0.6114 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5121, allocations: 0.9664 MB / 0.6123 GB, free: 48.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.5123, allocations: 227 kB / 0.6125 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.5123, allocations: 13.88 kB / 0.6125 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.5128, allocations: 35.94 kB / 0.6126 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.5128, allocations: 32.38 kB / 0.6126 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.5129, allocations: 18.59 kB / 0.6126 GB, free: 48.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000481/0.5134, allocations: 0.519 MB / 0.6131 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5134, allocations: 0 / 0.6131 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006075/0.514, allocations: 273.4 kB / 0.6134 GB, free: 48.16 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.001506/0.5155, allocations: 1.52 MB / 0.6149 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.517, allocations: 0.8192 MB / 0.6157 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.517, allocations: 0 / 0.6157 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.5175, allocations: 272.3 kB / 0.6159 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5185, allocations: 260.6 kB / 0.6162 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/0.526, allocations: 6.956 MB / 0.623 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5264, allocations: 0.9953 MB / 0.6239 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004911/0.5269, allocations: 116.4 kB / 0.624 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.5272, allocations: 352.2 kB / 0.6244 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.5272, allocations: 0 / 0.6244 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.5682, allocations: 17.19 MB / 0.6412 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.204, allocations: 13.55 kB / 0.6412 GB, free: 40.47 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)