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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001194/0.001194, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 64.02 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4004, allocations: 80.2 MB / 0.5802 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00493/0.4054, allocations: 4.323 MB / 0.5844 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.408, allocations: 1.59 MB / 0.586 GB, free: 140 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.4084, allocations: 30.97 kB / 0.586 GB, free: 132 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.4088, allocations: 164.9 kB / 0.5861 GB, free: 8 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.4094, allocations: 232.1 kB / 0.5864 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.4107, allocations: 0.671 MB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.4122, allocations: 1.218 MB / 0.5882 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/0.413, allocations: 0.508 MB / 0.5887 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.4136, allocations: 457.7 kB / 0.5891 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.4141, allocations: 465.7 kB / 0.5896 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.4143, allocations: 101.6 kB / 0.5897 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.4145, allocations: 103 kB / 0.5898 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.4147, allocations: 235.5 kB / 0.59 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.4151, allocations: 485.8 kB / 0.5905 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.4163, allocations: 1.114 MB / 0.5916 GB, free: 13.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4163, allocations: 0 / 0.5916 GB, free: 13.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4163, allocations: 1.094 kB / 0.5916 GB, free: 13.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4163, allocations: 0 / 0.5916 GB, free: 13.01 MB / 446.1 MB 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.002601/0.4189, allocations: 1.4 MB / 0.5929 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.419, allocations: 17.09 kB / 0.5929 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.4192, allocations: 113.3 kB / 0.593 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.4194, allocations: 128.1 kB / 0.5932 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.4206, allocations: 0.7235 MB / 0.5939 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.4207, allocations: 82.8 kB / 0.594 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.4208, allocations: 74.23 kB / 0.594 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.4222, allocations: 0.731 MB / 0.5947 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4222, allocations: 1.531 kB / 0.5947 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.4223, allocations: 30.88 kB / 0.5948 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.4223, allocations: 17.33 kB / 0.5948 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4234, allocations: 0.5128 MB / 0.5953 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.4266, allocations: 2.274 MB / 0.5975 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.428, allocations: 0.6156 MB / 0.5981 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.4286, allocations: 274.3 kB / 0.5984 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.4287, allocations: 7.219 kB / 0.5984 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007675/0.4294, allocations: 325.6 kB / 0.5987 GB, free: 8.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.896e-06/0.4294, allocations: 0 / 0.5987 GB, free: 8.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001716/0.4312, allocations: 0.7551 MB / 0.5994 GB, free: 8.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.4312, allocations: 92.23 kB / 0.5995 GB, free: 7.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.4322, allocations: 0.7547 MB / 0.6003 GB, free: 7.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.4323, allocations: 40.17 kB / 0.6003 GB, free: 7.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.4326, allocations: 445.6 kB / 0.6007 GB, free: 7.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.4328, allocations: 204.1 kB / 0.6009 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.433, allocations: 111.5 kB / 0.601 GB, free: 6.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4331, allocations: 330.4 kB / 0.6013 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.4336, allocations: 210.3 kB / 0.6015 GB, free: 6.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.4341, allocations: 299.4 kB / 0.6018 GB, free: 6.219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4351, allocations: 0.5111 MB / 0.6023 GB, free: 5.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4351, allocations: 0 / 0.6023 GB, free: 5.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001265/0.4364, allocations: 0.6531 MB / 0.603 GB, free: 5.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4364, allocations: 5.625 kB / 0.603 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4364, allocations: 2.625 kB / 0.603 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4365, allocations: 5.219 kB / 0.603 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.4371, allocations: 145.2 kB / 0.6031 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.4372, allocations: 9.531 kB / 0.6031 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.4376, allocations: 72.75 kB / 0.6032 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.4377, allocations: 23.75 kB / 0.6032 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006363/0.4383, allocations: 357.7 kB / 0.6035 GB, free: 5.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004887/0.4388, allocations: 292.4 kB / 0.6038 GB, free: 5.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008912/0.4397, allocations: 494 kB / 0.6043 GB, free: 4.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.4397, allocations: 0 / 0.6043 GB, free: 4.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001138/0.4409, allocations: 0.6279 MB / 0.6049 GB, free: 4.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.4409, allocations: 6.5 kB / 0.6049 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4409, allocations: 2.031 kB / 0.6049 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.4409, allocations: 5.219 kB / 0.6049 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.4415, allocations: 146.4 kB / 0.6051 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4415, allocations: 9.938 kB / 0.6051 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.4419, allocations: 56.69 kB / 0.6051 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.442, allocations: 20.38 kB / 0.6051 GB, free: 4.336 MB / 446.1 MB 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.0001914/0.4422, allocations: 216.1 kB / 0.6054 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.4423, allocations: 103.5 kB / 0.6055 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.4425, allocations: 101.9 kB / 0.6055 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.4425, allocations: 9.812 kB / 0.6056 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.4425, allocations: 3.938 kB / 0.6056 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4425, allocations: 3.984 kB / 0.6056 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4448, allocations: 1.44 MB / 0.607 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4448, allocations: 3.938 kB / 0.607 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.4453, allocations: 102.4 kB / 0.6071 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4454, allocations: 3.344 kB / 0.6071 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.4454, allocations: 10.53 kB / 0.6071 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4454, allocations: 2.469 kB / 0.6071 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4454, allocations: 0 / 0.6071 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.4472, allocations: 0.9725 MB / 0.608 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.4475, allocations: 214 kB / 0.6082 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.4476, allocations: 16.59 kB / 0.6083 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.4481, allocations: 38.52 kB / 0.6083 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4482, allocations: 33.61 kB / 0.6083 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.4483, allocations: 20.08 kB / 0.6083 GB, free: 2.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.4491, allocations: 0.5169 MB / 0.6089 GB, free: 1.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4491, allocations: 0 / 0.6089 GB, free: 1.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.45, allocations: 273.6 kB / 0.6091 GB, free: 1.742 MB / 446.1 MB 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.00235/0.4524, allocations: 1.53 MB / 0.6106 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.4544, allocations: 0.8143 MB / 0.6114 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4544, allocations: 3.938 kB / 0.6114 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.455, allocations: 270.6 kB / 0.6117 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4563, allocations: 262.8 kB / 0.6119 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4665, allocations: 6.963 MB / 0.6187 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.4672, allocations: 0.9898 MB / 0.6197 GB, free: 8.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006757/0.4679, allocations: 126.8 kB / 0.6198 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.4684, allocations: 347.3 kB / 0.6201 GB, free: 7.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4684, allocations: 0 / 0.6201 GB, free: 7.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.5172, allocations: 17.18 MB / 0.6369 GB, free: 6.633 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/8.202, allocations: 9.922 kB / 0.6369 GB, free: 6.629 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)