Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8697/0.8697, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 75.55 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.631, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005005/0.636, allocations: 4.165 MB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.6393, allocations: 1.377 MB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.6401, allocations: 32.5 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.6405, allocations: 121.7 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.6409, allocations: 187.1 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.6422, allocations: 420 kB / 0.824 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.6433, allocations: 0.9601 MB / 0.8249 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.6438, allocations: 302.8 kB / 0.8252 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.6443, allocations: 344.2 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.6447, allocations: 333.4 kB / 0.8258 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.6448, allocations: 98.88 kB / 0.8259 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.6449, allocations: 90.94 kB / 0.826 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.6451, allocations: 180.8 kB / 0.8262 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.6454, allocations: 392.5 kB / 0.8266 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.647, allocations: 1.062 MB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.647, allocations: 0 / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.356e-06/0.647, allocations: 0.75 kB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.6471, allocations: 0 / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00192/0.649, allocations: 1.085 MB / 0.8287 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.649, allocations: 13.47 kB / 0.8287 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.6492, allocations: 99.81 kB / 0.8288 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6493, allocations: 86.81 kB / 0.8289 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.6502, allocations: 0.5071 MB / 0.8294 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.6502, allocations: 41.28 kB / 0.8294 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.6503, allocations: 63.98 kB / 0.8295 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6514, allocations: 0.6095 MB / 0.8301 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.6514, allocations: 1.062 kB / 0.8301 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.6515, allocations: 25.5 kB / 0.8301 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.6515, allocations: 13.91 kB / 0.8301 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.6523, allocations: 457.6 kB / 0.8305 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.6555, allocations: 1.943 MB / 0.8324 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/0.6564, allocations: 434.3 kB / 0.8328 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.6568, allocations: 218.4 kB / 0.833 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.6568, allocations: 5.641 kB / 0.8331 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.6574, allocations: 269.5 kB / 0.8333 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 5.11e-06/0.6574, allocations: 1.062 kB / 0.8333 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.00114/0.6585, allocations: 0.5788 MB / 0.8339 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.6586, allocations: 56.81 kB / 0.8339 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.6591, allocations: 450.4 kB / 0.8344 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.6592, allocations: 37.58 kB / 0.8344 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.6594, allocations: 330 kB / 0.8347 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6596, allocations: 173.4 kB / 0.8349 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.6597, allocations: 95.95 kB / 0.835 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6599, allocations: 363.8 kB / 0.8353 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.6603, allocations: 161.5 kB / 0.8355 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.6607, allocations: 262.9 kB / 0.8357 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.6613, allocations: 454.8 kB / 0.8362 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6613, allocations: 1.156 kB / 0.8362 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008135/0.6621, allocations: 0.5632 MB / 0.8367 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.6621, allocations: 32.78 kB / 0.8367 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6622, allocations: 10.86 kB / 0.8367 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.6622, allocations: 9.125 kB / 0.8368 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.6625, allocations: 113.1 kB / 0.8369 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.6625, allocations: 6.344 kB / 0.8369 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.6628, allocations: 56.73 kB / 0.8369 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.6628, allocations: 18.34 kB / 0.8369 GB, free: 5.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002973/0.6631, allocations: 215.7 kB / 0.8371 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.6632, allocations: 63.14 kB / 0.8372 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.6633, allocations: 64.38 kB / 0.8373 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6633, allocations: 6.031 kB / 0.8373 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.6633, allocations: 0.5156 kB / 0.8373 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6633, allocations: 2.156 kB / 0.8373 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.665, allocations: 1.147 MB / 0.8384 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.665, allocations: 0 / 0.8384 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.6653, allocations: 93.44 kB / 0.8385 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6653, allocations: 2.312 kB / 0.8385 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.6653, allocations: 13.16 kB / 0.8385 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6653, allocations: 6.016 kB / 0.8385 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6653, allocations: 1.188 kB / 0.8385 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6664, allocations: 0.7581 MB / 0.8392 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.6666, allocations: 100.1 kB / 0.8393 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.6667, allocations: 10.78 kB / 0.8394 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6668, allocations: 21.28 kB / 0.8394 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.667, allocations: 46.95 kB / 0.8394 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.667, allocations: 14.88 kB / 0.8394 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000371/0.6674, allocations: 308 kB / 0.8397 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6674, allocations: 1.156 kB / 0.8397 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004852/0.6678, allocations: 142 kB / 0.8399 GB, free: 3.645 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.001355/0.6692, allocations: 1.312 MB / 0.8411 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008872/0.6701, allocations: 464.6 kB / 0.8416 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6701, allocations: 0 / 0.8416 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.6704, allocations: 204.8 kB / 0.8418 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.671, allocations: 161 kB / 0.8419 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.6775, allocations: 4.809 MB / 0.8466 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/0.6781, allocations: 0.8864 MB / 0.8475 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000369/0.6785, allocations: 63.66 kB / 0.8476 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6787, allocations: 222 kB / 0.8478 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of SimCode: time 2.184e-06/0.6787, allocations: 0 / 0.8478 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.7168, allocations: 11.82 MB / 0.8593 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.282, allocations: 2.922 kB / 0.8593 GB, free: 8.562 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.761627695057541] Failed to read output from testmodel.py, exit status != 0: 8.36438526911661 8.376177448 7.726931534 Calling exit ...