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.001339/0.001339, allocations: 93.06 kB / 19.65 MB, free: 280 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.001458/0.001458, allocations: 169 kB / 23.02 MB, free: 1.555 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.078/1.078, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.8066/0.8066, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.513e-06/1.513e-06, allocations: 0 / 0.5203 GB, free: 1.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.236e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.156 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.01099/0.01102, allocations: 3.99 MB / 0.5242 GB, free: 13.17 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.01641, allocations: 1.354 MB / 0.5255 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.01684, allocations: 27.81 kB / 0.5255 GB, free: 11.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.01716, allocations: 139.3 kB / 0.5257 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.01752, allocations: 189.1 kB / 0.5258 GB, free: 11.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.01828, allocations: 419.3 kB / 0.5262 GB, free: 11.06 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008841/0.01916, allocations: 0.9785 MB / 0.5272 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.02262, allocations: 282.6 kB / 0.5275 GB, free: 9.781 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.02317, allocations: 0.495 MB / 0.5279 GB, free: 9.285 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.02346, allocations: 243.2 kB / 0.5282 GB, free: 9.047 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.02356, allocations: 95.98 kB / 0.5283 GB, free: 8.953 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.02366, allocations: 88 kB / 0.5283 GB, free: 8.867 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.02378, allocations: 179.9 kB / 0.5285 GB, free: 8.691 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.02401, allocations: 255.9 kB / 0.5288 GB, free: 8.441 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.0246, allocations: 0.5837 MB / 0.5293 GB, free: 7.855 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.02461, allocations: 0.5625 kB / 0.5293 GB, free: 7.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02461, allocations: 0.9688 kB / 0.5293 GB, free: 7.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.02461, allocations: 0 / 0.5293 GB, free: 7.855 MB / 458.7 MB 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.001418/0.02603, allocations: 1.156 MB / 0.5305 GB, free: 6.652 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.02607, allocations: 8.594 kB / 0.5305 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.02651, allocations: 136.4 kB / 0.5306 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.02723, allocations: 0.537 MB / 0.5311 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.02727, allocations: 45.69 kB / 0.5312 GB, free: 5.906 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.02736, allocations: 67.08 kB / 0.5312 GB, free: 5.844 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.02813, allocations: 0.5225 MB / 0.5317 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.02815, allocations: 192 / 0.5317 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.0282, allocations: 20.38 kB / 0.5318 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.02822, allocations: 19.94 kB / 0.5318 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.02871, allocations: 225.4 kB / 0.532 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.0306, allocations: 1.802 MB / 0.5338 GB, free: 3.164 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.031, allocations: 277.2 kB / 0.534 GB, free: 2.879 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.03116, allocations: 125.1 kB / 0.5341 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.0312, allocations: 12.48 kB / 0.5342 GB, free: 2.742 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.03144, allocations: 175.9 kB / 0.5343 GB, free: 2.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.03144, allocations: 3.125 kB / 0.5343 GB, free: 2.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005328/0.03197, allocations: 392.6 kB / 0.5347 GB, free: 2.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.03201, allocations: 63.84 kB / 0.5348 GB, free: 2.098 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.03231, allocations: 443.3 kB / 0.5352 GB, free: 1.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.03234, allocations: 37.62 kB / 0.5352 GB, free: 1.605 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.03252, allocations: 379.6 kB / 0.5356 GB, free: 1.227 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.03261, allocations: 170.5 kB / 0.5357 GB, free: 1.059 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.03271, allocations: 96 kB / 0.5358 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.03285, allocations: 0.5409 MB / 0.5364 GB, free: 412 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.03299, allocations: 94.97 kB / 0.5365 GB, free: 312 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.03317, allocations: 213.8 kB / 0.5367 GB, free: 56 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.03348, allocations: 303.8 kB / 0.5369 GB, free: 15.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.03349, allocations: 4 kB / 0.5369 GB, free: 15.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004602/0.03395, allocations: 452.2 kB / 0.5374 GB, free: 15.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.03398, allocations: 29.7 kB / 0.5374 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.03399, allocations: 4 kB / 0.5374 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.034, allocations: 7.984 kB / 0.5374 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.0346, allocations: 111.8 kB / 0.5375 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.03461, allocations: 10.62 kB / 0.5375 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.03475, allocations: 51.66 kB / 0.5376 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.03477, allocations: 16 kB / 0.5376 GB, free: 15.03 MB / 474.7 MB 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.0001415/0.03491, allocations: 185.4 kB / 0.5378 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.03497, allocations: 79.61 kB / 0.5379 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.03505, allocations: 62.48 kB / 0.5379 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.03506, allocations: 8 kB / 0.5379 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.03506, allocations: 6.281 kB / 0.5379 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03507, allocations: 3.984 kB / 0.5379 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.03594, allocations: 0.8665 MB / 0.5388 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.03594, allocations: 0 / 0.5388 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.0362, allocations: 91.89 kB / 0.5389 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.0362, allocations: 0.875 kB / 0.5389 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.03623, allocations: 15.94 kB / 0.5389 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.03623, allocations: 4.531 kB / 0.5389 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03623, allocations: 1.5 kB / 0.5389 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.0368, allocations: 0.5566 MB / 0.5394 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.03691, allocations: 83.53 kB / 0.5395 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.03694, allocations: 21.05 kB / 0.5395 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.03706, allocations: 19.98 kB / 0.5395 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.03714, allocations: 37.44 kB / 0.5396 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.03716, allocations: 24 kB / 0.5396 GB, free: 12.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.03735, allocations: 291 kB / 0.5399 GB, free: 12.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03735, allocations: 1.031 kB / 0.5399 GB, free: 12.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.03761, allocations: 151.6 kB / 0.54 GB, free: 12.48 MB / 474.7 MB 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 9.194e-05/0.03771, allocations: 108.8 kB / 0.5401 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.03811, allocations: 346.5 kB / 0.5405 GB, free: 12.01 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.03811, allocations: 0 / 0.5405 GB, free: 12.01 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.03828, allocations: 139.5 kB / 0.5406 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.03873, allocations: 162.3 kB / 0.5408 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.04034, allocations: 1.159 MB / 0.5419 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.321e-05/0.04043, allocations: 127.3 kB / 0.542 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.04057, allocations: 67.69 kB / 0.5421 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.04066, allocations: 48.48 kB / 0.5421 GB, free: 10.35 MB / 474.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04067, allocations: 0 / 0.5421 GB, free: 10.35 MB / 474.7 MB Notification: Performance of Templates: time 0.008678/0.04934, allocations: 5.825 MB / 0.5478 GB, free: 4.734 MB / 474.7 MB " [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: 4.215875064022839]