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.0008095/0.0008095, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008408/0.0008408, allocations: 203.2 kB / 23 MB, free: 3.113 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 0.9645/0.9645, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.8079/0.8079, allocations: 203.8 MB / 0.5049 GB, free: 0.7656 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: 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.001018/0.001018, allocations: 67.89 kB / 0.7194 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5643, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006173/0.5705, allocations: 4.165 MB / 0.8231 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.574, allocations: 1.374 MB / 0.8245 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.5745, allocations: 34.75 kB / 0.8245 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.5749, allocations: 130.2 kB / 0.8246 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.5752, allocations: 181.3 kB / 0.8248 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.5761, allocations: 427.6 kB / 0.8252 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000847/0.5769, allocations: 0.9596 MB / 0.8261 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.5774, allocations: 303.7 kB / 0.8264 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.5777, allocations: 342.5 kB / 0.8268 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.578, allocations: 335.5 kB / 0.8271 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.5781, allocations: 91.72 kB / 0.8272 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.5782, allocations: 90.47 kB / 0.8272 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.5783, allocations: 184.9 kB / 0.8274 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.5786, allocations: 385.5 kB / 0.8278 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.5796, allocations: 1.067 MB / 0.8288 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.5796, allocations: 1.406 kB / 0.8288 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5797, allocations: 5.281 kB / 0.8288 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.5797, allocations: 0 / 0.8288 GB, free: 18.84 MB / 0.6355 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.001431/0.5811, allocations: 1.078 MB / 0.8299 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5811, allocations: 11.22 kB / 0.8299 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.5813, allocations: 94.94 kB / 0.83 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.582, allocations: 0.5041 MB / 0.8305 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.582, allocations: 46.61 kB / 0.8305 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.5821, allocations: 63.86 kB / 0.8306 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.5829, allocations: 0.6047 MB / 0.8312 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.5829, allocations: 6.703 kB / 0.8312 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.583, allocations: 23.72 kB / 0.8312 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.583, allocations: 15.58 kB / 0.8312 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.5837, allocations: 455.8 kB / 0.8317 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.5859, allocations: 1.951 MB / 0.8336 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.5865, allocations: 422.7 kB / 0.834 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5868, allocations: 224.6 kB / 0.8342 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.5868, allocations: 4.781 kB / 0.8342 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.5872, allocations: 258.8 kB / 0.8344 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 3.065e-06/0.5872, allocations: 4 kB / 0.8344 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0009149/0.5882, allocations: 0.5859 MB / 0.835 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.5882, allocations: 57.34 kB / 0.8351 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.5886, allocations: 442.1 kB / 0.8355 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5887, allocations: 36.67 kB / 0.8355 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5888, allocations: 335 kB / 0.8358 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.5889, allocations: 172.5 kB / 0.836 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.5891, allocations: 95.97 kB / 0.8361 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.5891, allocations: 366.1 kB / 0.8364 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.5894, allocations: 164.4 kB / 0.8366 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.5897, allocations: 250.8 kB / 0.8368 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.5902, allocations: 451 kB / 0.8373 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5902, allocations: 1.25 kB / 0.8373 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007236/0.591, allocations: 0.5635 MB / 0.8378 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.591, allocations: 36.75 kB / 0.8379 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.591, allocations: 3.266 kB / 0.8379 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.591, allocations: 4.719 kB / 0.8379 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.5913, allocations: 116.6 kB / 0.838 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5914, allocations: 10.02 kB / 0.838 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5916, allocations: 60.73 kB / 0.838 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.5916, allocations: 19.12 kB / 0.8381 GB, free: 13.38 MB / 0.6355 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.0001873/0.5918, allocations: 208.4 kB / 0.8383 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.5918, allocations: 66.09 kB / 0.8383 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.5919, allocations: 65.36 kB / 0.8384 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5919, allocations: 5.375 kB / 0.8384 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.592, allocations: 0 / 0.8384 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.592, allocations: 2.953 kB / 0.8384 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.5933, allocations: 1.149 MB / 0.8395 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5933, allocations: 1.125 kB / 0.8395 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.5936, allocations: 94.16 kB / 0.8396 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5936, allocations: 1.75 kB / 0.8396 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.5936, allocations: 16.75 kB / 0.8396 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5936, allocations: 2.25 kB / 0.8396 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5936, allocations: 0 / 0.8396 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.5945, allocations: 0.7672 MB / 0.8404 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5947, allocations: 98.84 kB / 0.8405 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.5947, allocations: 11.98 kB / 0.8405 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5948, allocations: 26.16 kB / 0.8405 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.5949, allocations: 34.3 kB / 0.8405 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.595, allocations: 13.77 kB / 0.8406 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002905/0.5953, allocations: 314 kB / 0.8409 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5953, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003987/0.5957, allocations: 146.3 kB / 0.841 GB, free: 11.77 MB / 0.6355 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.0001124/0.5958, allocations: 113.7 kB / 0.8411 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006564/0.5964, allocations: 459.5 kB / 0.8415 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5964, allocations: 1.094 kB / 0.8415 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.5967, allocations: 208.4 kB / 0.8417 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.5972, allocations: 156.1 kB / 0.8419 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5992, allocations: 1.384 MB / 0.8432 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5995, allocations: 0.8956 MB / 0.8441 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5997, allocations: 48.3 kB / 0.8442 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.5997, allocations: 0 / 0.8442 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of Templates: time 0.01281/0.6125, allocations: 7.689 MB / 0.8517 GB, free: 8.051 MB / 0.6355 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: 6.993683486012742] Failed to read output from testmodel.py, exit status != 0: 0.6186249831225723 0.6300764560000001 0.048279684 Calling exit ...