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.001515/0.001515, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002294/0.002294, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 1.263/1.263, allocations: 203.8 MB / 0.5041 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [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.002154/0.002154, allocations: 67.89 kB / 0.7186 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7698, allocations: 102 MB / 0.8182 GB, free: 28.96 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.00609/0.7759, allocations: 3.746 MB / 0.8219 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003499/0.7794, allocations: 1.327 MB / 0.8232 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.7802, allocations: 34.22 kB / 0.8232 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.7807, allocations: 130.1 kB / 0.8233 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.7812, allocations: 176.3 kB / 0.8235 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.7822, allocations: 423.3 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.7833, allocations: 0.9595 MB / 0.8248 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.7838, allocations: 282.1 kB / 0.8251 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.7843, allocations: 341.7 kB / 0.8254 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.7847, allocations: 294.7 kB / 0.8257 GB, free: 24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.7848, allocations: 90.88 kB / 0.8258 GB, free: 24 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.785, allocations: 91.5 kB / 0.8259 GB, free: 24 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.7851, allocations: 176.5 kB / 0.8261 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.7854, allocations: 310.3 kB / 0.8264 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.7868, allocations: 1.073 MB / 0.8274 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.7868, allocations: 4.516 kB / 0.8274 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7868, allocations: 3.938 kB / 0.8274 GB, free: 23.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.7868, allocations: 1.25 kB / 0.8274 GB, free: 23.22 MB / 0.6387 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.002144/0.7889, allocations: 1.082 MB / 0.8285 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.789, allocations: 9.156 kB / 0.8285 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.7891, allocations: 87.38 kB / 0.8286 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.7902, allocations: 0.5068 MB / 0.8291 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.7903, allocations: 41.03 kB / 0.8291 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7904, allocations: 64.05 kB / 0.8292 GB, free: 22.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.7916, allocations: 0.6559 MB / 0.8298 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.7917, allocations: 6.109 kB / 0.8298 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.7917, allocations: 21.5 kB / 0.8298 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.7918, allocations: 13.75 kB / 0.8298 GB, free: 21.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.7929, allocations: 459.3 kB / 0.8303 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.7957, allocations: 1.699 MB / 0.8319 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.7967, allocations: 425.3 kB / 0.8323 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.7972, allocations: 233.3 kB / 0.8326 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.7972, allocations: 6.656 kB / 0.8326 GB, free: 20.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/0.7978, allocations: 258.3 kB / 0.8328 GB, free: 20.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.7978, allocations: 0 / 0.8328 GB, free: 20.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.00142/0.7993, allocations: 0.5811 MB / 0.8334 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.7993, allocations: 62.55 kB / 0.8334 GB, free: 19.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.7999, allocations: 426.3 kB / 0.8339 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.7999, allocations: 36.92 kB / 0.8339 GB, free: 19.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.8002, allocations: 338.5 kB / 0.8342 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.8003, allocations: 173.6 kB / 0.8344 GB, free: 19.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.8005, allocations: 103.9 kB / 0.8345 GB, free: 19 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8006, allocations: 360.6 kB / 0.8348 GB, free: 18.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.8011, allocations: 197.8 kB / 0.835 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.8015, allocations: 278.4 kB / 0.8353 GB, free: 18.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.8024, allocations: 456.1 kB / 0.8357 GB, free: 18.13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8024, allocations: 1.219 kB / 0.8357 GB, free: 18.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001151/0.8035, allocations: 0.5887 MB / 0.8363 GB, free: 17.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.8036, allocations: 38 kB / 0.8363 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8036, allocations: 6.094 kB / 0.8363 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.8036, allocations: 5.938 kB / 0.8363 GB, free: 17.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.8042, allocations: 112.8 kB / 0.8364 GB, free: 17.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.8042, allocations: 5.172 kB / 0.8364 GB, free: 17.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.8046, allocations: 57.52 kB / 0.8365 GB, free: 17.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.8046, allocations: 18.72 kB / 0.8365 GB, free: 17.74 MB / 0.6387 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.0002786/0.8049, allocations: 213.7 kB / 0.8367 GB, free: 17.56 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.805, allocations: 57.78 kB / 0.8368 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.8051, allocations: 69.28 kB / 0.8368 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8051, allocations: 5.391 kB / 0.8368 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.8051, allocations: 0 / 0.8368 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8051, allocations: 3.828 kB / 0.8369 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.807, allocations: 0.9936 MB / 0.8378 GB, free: 16.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.807, allocations: 5.375 kB / 0.8378 GB, free: 16.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.8075, allocations: 97.75 kB / 0.8379 GB, free: 16.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8075, allocations: 2.188 kB / 0.8379 GB, free: 16.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.8075, allocations: 13.41 kB / 0.8379 GB, free: 16.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.8075, allocations: 1.375 kB / 0.8379 GB, free: 16.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8075, allocations: 4 kB / 0.8379 GB, free: 16.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.809, allocations: 0.7605 MB / 0.8387 GB, free: 16.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.8092, allocations: 99.14 kB / 0.8388 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.8092, allocations: 7.094 kB / 0.8388 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.8095, allocations: 33.86 kB / 0.8388 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.8096, allocations: 38.17 kB / 0.8389 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.8097, allocations: 14.41 kB / 0.8389 GB, free: 16.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003927/0.8101, allocations: 295.7 kB / 0.8391 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.8101, allocations: 0 / 0.8391 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005684/0.8106, allocations: 141.7 kB / 0.8393 GB, free: 16.22 MB / 0.6387 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.0001313/0.8108, allocations: 114 kB / 0.8394 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.8118, allocations: 491.7 kB / 0.8399 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8118, allocations: 1.406 kB / 0.8399 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.8122, allocations: 203.3 kB / 0.8401 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.813, allocations: 158.6 kB / 0.8402 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.8158, allocations: 1.352 MB / 0.8415 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.8162, allocations: 296.6 kB / 0.8418 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.8166, allocations: 61.61 kB / 0.8419 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.8167, allocations: 43.81 kB / 0.8419 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.8167, allocations: 0 / 0.8419 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.01719/0.8339, allocations: 6.525 MB / 0.8483 GB, free: 13.89 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.684309780597687] Failed to read output from testmodel.py, exit status != 0: 0.8442457560449839 0.85831409 0.068444116 Calling exit ...