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.001997/0.001997, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 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.002464/0.002464, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.691/1.691, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 154.6 MB / 414.2 MB, free: 0.6562 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 178] 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 5.671e-06/5.671e-06, allocations: 4 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/4.109e-05, allocations: 5.016 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006968/0.007009, allocations: 3.948 MB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003696/0.01071, allocations: 1.339 MB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.01129, allocations: 27.81 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.01173, allocations: 130.7 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.01222, allocations: 190.4 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.01332, allocations: 415.4 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.01466, allocations: 0.9797 MB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.01526, allocations: 294.6 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.01603, allocations: 0.4911 MB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.01643, allocations: 250.7 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.01658, allocations: 88 kB / 0.5275 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.01672, allocations: 92 kB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.01692, allocations: 179.4 kB / 0.5278 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.01726, allocations: 251.3 kB / 0.528 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.01873, allocations: 1.09 MB / 0.5291 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.01873, allocations: 0 / 0.5291 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.01874, allocations: 0 / 0.5291 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.01875, allocations: 0 / 0.5291 GB, free: 8.832 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.002476/0.02122, allocations: 1.286 MB / 0.5303 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.02127, allocations: 8.031 kB / 0.5303 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.02154, allocations: 132.4 kB / 0.5305 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.02259, allocations: 0.532 MB / 0.531 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.02265, allocations: 45.69 kB / 0.531 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/0.02316, allocations: 68.27 kB / 0.5311 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.02449, allocations: 0.6958 MB / 0.5318 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.02452, allocations: 192 / 0.5318 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.02459, allocations: 24.38 kB / 0.5318 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.02461, allocations: 19.94 kB / 0.5318 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009974/0.02561, allocations: 429.9 kB / 0.5322 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.02944, allocations: 2.187 MB / 0.5344 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.03037, allocations: 426.2 kB / 0.5348 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.03082, allocations: 236.1 kB / 0.535 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.03088, allocations: 8.5 kB / 0.535 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.03148, allocations: 263.9 kB / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.256e-06/0.03148, allocations: 0 / 0.5353 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001401/0.03288, allocations: 0.5726 MB / 0.5358 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.03295, allocations: 63.78 kB / 0.5359 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.03378, allocations: 0.6009 MB / 0.5365 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.03383, allocations: 33.7 kB / 0.5365 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.03424, allocations: 423 kB / 0.5369 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.03446, allocations: 186.5 kB / 0.5371 GB, free: 428 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.03467, allocations: 127.9 kB / 0.5372 GB, free: 292 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004167/0.03509, allocations: 0.5821 MB / 0.5378 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.0355, allocations: 183 kB / 0.5379 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.03632, allocations: 313.9 kB / 0.5382 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.0372, allocations: 496.1 kB / 0.5387 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03721, allocations: 0 / 0.5387 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001271/0.03848, allocations: 0.5972 MB / 0.5393 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.03853, allocations: 30.95 kB / 0.5393 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.03854, allocations: 7.938 kB / 0.5393 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.03856, allocations: 4 kB / 0.5393 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.03908, allocations: 115.8 kB / 0.5394 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.0391, allocations: 11.88 kB / 0.5395 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.03944, allocations: 55.61 kB / 0.5395 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.03948, allocations: 19.98 kB / 0.5395 GB, free: 13.78 MB / 0.5105 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.0003754/0.03986, allocations: 253.3 kB / 0.5398 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.03998, allocations: 75.66 kB / 0.5398 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.04015, allocations: 57.45 kB / 0.5399 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.04016, allocations: 4 kB / 0.5399 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.04017, allocations: 4.781 kB / 0.5399 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.04018, allocations: 7.922 kB / 0.5399 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.04232, allocations: 1.185 MB / 0.5411 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.04232, allocations: 0 / 0.5411 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.04278, allocations: 91.83 kB / 0.5412 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.04279, allocations: 4.656 kB / 0.5412 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.04283, allocations: 19.92 kB / 0.5412 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.04283, allocations: 0.6562 kB / 0.5412 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.04284, allocations: 3.938 kB / 0.5412 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.04433, allocations: 0.8044 MB / 0.542 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.04454, allocations: 95.5 kB / 0.5421 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.04461, allocations: 16.61 kB / 0.5421 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.04484, allocations: 16.62 kB / 0.5421 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.04496, allocations: 40.42 kB / 0.5421 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.045, allocations: 12.75 kB / 0.5421 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005185/0.04552, allocations: 383 kB / 0.5425 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.04552, allocations: 0.5312 kB / 0.5425 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005271/0.04604, allocations: 141.1 kB / 0.5426 GB, free: 10.53 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.0001912/0.04623, allocations: 118.8 kB / 0.5428 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.04729, allocations: 0.5015 MB / 0.5432 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.0473, allocations: 1.219 kB / 0.5432 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.04774, allocations: 231.4 kB / 0.5435 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.04858, allocations: 155.3 kB / 0.5436 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.0514, allocations: 1.248 MB / 0.5448 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.05219, allocations: 290.2 kB / 0.5451 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002985/0.05249, allocations: 67.22 kB / 0.5452 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.05262, allocations: 48.48 kB / 0.5452 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/0.05262, allocations: 0.9375 kB / 0.5452 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of Templates: time 0.01403/0.06665, allocations: 5.805 MB / 0.5509 GB, free: 2.289 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: 6.884180454071611]