Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001195/0.001195, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001352/0.001352, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9126/0.9126, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7027/0.7027, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5207 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.707e-05, allocations: 5.375 kB / 0.5207 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.01177/0.0118, allocations: 3.907 MB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005976/0.01778, allocations: 1.346 MB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.01838, allocations: 27.81 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.01877, allocations: 122.7 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.0224, allocations: 198.3 kB / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.02333, allocations: 417.2 kB / 0.5266 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.02436, allocations: 0.9746 MB / 0.5275 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.0279, allocations: 286.6 kB / 0.5278 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.0285, allocations: 0.4989 MB / 0.5283 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.02873, allocations: 240.8 kB / 0.5285 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.0288, allocations: 91.98 kB / 0.5286 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.02888, allocations: 88 kB / 0.5287 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.02896, allocations: 175.4 kB / 0.5289 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.02911, allocations: 240.7 kB / 0.5291 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.02961, allocations: 0.5759 MB / 0.5297 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02962, allocations: 0 / 0.5297 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02962, allocations: 0 / 0.5297 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.02963, allocations: 0.625 kB / 0.5297 GB, free: 8.742 MB / 0.4948 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.001135/0.03076, allocations: 1.161 MB / 0.5308 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.0308, allocations: 12.03 kB / 0.5308 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.03093, allocations: 136.4 kB / 0.5309 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.03145, allocations: 0.5326 MB / 0.5315 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.03148, allocations: 49.62 kB / 0.5315 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.03154, allocations: 60.38 kB / 0.5316 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.03201, allocations: 496.5 kB / 0.532 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.03203, allocations: 192 / 0.532 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.03206, allocations: 20.38 kB / 0.5321 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.03207, allocations: 23.92 kB / 0.5321 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.03229, allocations: 183.1 kB / 0.5322 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.03377, allocations: 1.726 MB / 0.5339 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.03406, allocations: 247 kB / 0.5342 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.03417, allocations: 105.8 kB / 0.5343 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.03419, allocations: 9.312 kB / 0.5343 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.03439, allocations: 170.6 kB / 0.5344 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.03439, allocations: 0 / 0.5344 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0004186/0.03481, allocations: 345.3 kB / 0.5348 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.03484, allocations: 59.91 kB / 0.5348 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.0351, allocations: 446.3 kB / 0.5353 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.03513, allocations: 33.7 kB / 0.5353 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.0353, allocations: 378.6 kB / 0.5356 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.03539, allocations: 178.5 kB / 0.5358 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.03548, allocations: 103.9 kB / 0.5359 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.03562, allocations: 0.5351 MB / 0.5364 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.03571, allocations: 82.95 kB / 0.5365 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.03584, allocations: 197.8 kB / 0.5367 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.03606, allocations: 277.6 kB / 0.537 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.03606, allocations: 4 kB / 0.537 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003564/0.03642, allocations: 412.4 kB / 0.5374 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.03645, allocations: 45.25 kB / 0.5374 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.03645, allocations: 0 / 0.5374 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.03647, allocations: 4 kB / 0.5374 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.03672, allocations: 107.9 kB / 0.5375 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.03672, allocations: 7.938 kB / 0.5375 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.03685, allocations: 55.59 kB / 0.5376 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.03687, allocations: 19.98 kB / 0.5376 GB, free: 264 kB / 0.4948 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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2) * 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.0001285/0.037, allocations: 188.7 kB / 0.5378 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.03707, allocations: 71.67 kB / 0.5378 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.03714, allocations: 69.38 kB / 0.5379 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.03714, allocations: 7.938 kB / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.03714, allocations: 0 / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03715, allocations: 3.938 kB / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.03787, allocations: 0.7694 MB / 0.5387 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03787, allocations: 0 / 0.5387 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.03809, allocations: 87.89 kB / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.0381, allocations: 4 kB / 0.5388 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.03812, allocations: 12 kB / 0.5388 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.03812, allocations: 3.938 kB / 0.5388 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.03812, allocations: 7.922 kB / 0.5388 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.03856, allocations: 0.5136 MB / 0.5393 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.03866, allocations: 96.33 kB / 0.5394 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.03869, allocations: 12 kB / 0.5394 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.03881, allocations: 20.55 kB / 0.5394 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.03886, allocations: 37.59 kB / 0.5394 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.03888, allocations: 11.98 kB / 0.5395 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000165/0.03904, allocations: 279 kB / 0.5397 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03904, allocations: 0 / 0.5397 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002774/0.03932, allocations: 144.3 kB / 0.5399 GB, free: 13.89 MB / 0.5105 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.0001027/0.03942, allocations: 114.8 kB / 0.54 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.03971, allocations: 318.3 kB / 0.5403 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.03971, allocations: 0 / 0.5403 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.03983, allocations: 128.5 kB / 0.5404 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.04032, allocations: 161.1 kB / 0.5406 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.04176, allocations: 1.16 MB / 0.5417 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.04184, allocations: 133.9 kB / 0.5418 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.042, allocations: 64.28 kB / 0.5419 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.04222, allocations: 186.1 kB / 0.542 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.04222, allocations: 0.5 kB / 0.5421 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.008889/0.05111, allocations: 6.327 MB / 0.5482 GB, free: 5.539 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4868252859450877]