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.001577/0.001577, allocations: 84.73 kB / 19.44 MB, free: 464 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.00187/0.00187, allocations: 161.7 kB / 22.75 MB, free: 1.789 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.344 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.29/1.29, allocations: 154.6 MB / 414.1 MB, free: 0.5742 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 2.224e-06/2.224e-06, allocations: 0 / 0.5196 GB, free: 2.625 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.337e-05/4.56e-05, allocations: 6.859 kB / 0.5196 GB, free: 2.621 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006902/0.006948, allocations: 3.743 MB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.01034, allocations: 1.323 MB / 0.5245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.01075, allocations: 33.62 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.01118, allocations: 126.8 kB / 0.5247 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.01159, allocations: 189.3 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.01261, allocations: 420.3 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.01383, allocations: 0.9744 MB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.01443, allocations: 290.6 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000744/0.01518, allocations: 0.4921 MB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.01556, allocations: 243.2 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.01571, allocations: 93.44 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.01586, allocations: 88 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.01607, allocations: 183.3 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.01641, allocations: 259.3 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.01781, allocations: 1.091 MB / 0.5289 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01781, allocations: 5.031 kB / 0.5289 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01782, allocations: 0 / 0.5289 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.01783, allocations: 0 / 0.5289 GB, free: 9.082 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.002272/0.0201, allocations: 1.063 MB / 0.5299 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.02015, allocations: 15.97 kB / 0.5299 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.0204, allocations: 140.4 kB / 0.53 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.02151, allocations: 0.5317 MB / 0.5306 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.02157, allocations: 41.69 kB / 0.5306 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.0217, allocations: 60.38 kB / 0.5307 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.023, allocations: 0.6583 MB / 0.5313 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.02302, allocations: 192 / 0.5313 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.02309, allocations: 28.12 kB / 0.5313 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.02311, allocations: 12 kB / 0.5313 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.02441, allocations: 463.8 kB / 0.5318 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.02767, allocations: 1.721 MB / 0.5335 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.02874, allocations: 421.2 kB / 0.5339 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.02925, allocations: 226.2 kB / 0.5341 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.0293, allocations: 8.5 kB / 0.5341 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007041/0.03, allocations: 260.7 kB / 0.5343 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.434e-06/0.03001, allocations: 0 / 0.5343 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001705/0.03171, allocations: 0.6042 MB / 0.5349 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.03179, allocations: 59.84 kB / 0.535 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.03241, allocations: 426.6 kB / 0.5354 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.03247, allocations: 37.7 kB / 0.5354 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.03284, allocations: 332.8 kB / 0.5357 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.03306, allocations: 179.8 kB / 0.5359 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.03324, allocations: 90.34 kB / 0.536 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.03348, allocations: 358.8 kB / 0.5363 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.03395, allocations: 196.1 kB / 0.5365 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.03451, allocations: 281 kB / 0.5368 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.03548, allocations: 455.5 kB / 0.5372 GB, free: 248 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.03549, allocations: 0 / 0.5372 GB, free: 248 kB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001369/0.03686, allocations: 0.6149 MB / 0.5378 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.03692, allocations: 33.69 kB / 0.5379 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.03693, allocations: 4 kB / 0.5379 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.03696, allocations: 4 kB / 0.5379 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.03752, allocations: 119.7 kB / 0.538 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.03753, allocations: 8 kB / 0.538 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.0379, allocations: 49 kB / 0.538 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.03796, allocations: 27.97 kB / 0.5381 GB, free: 15.36 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.0003461/0.0383, allocations: 212.4 kB / 0.5383 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.03844, allocations: 71.62 kB / 0.5383 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.03861, allocations: 70 kB / 0.5384 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.03862, allocations: 4 kB / 0.5384 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.03863, allocations: 4.469 kB / 0.5384 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.03864, allocations: 0.9375 kB / 0.5384 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.041, allocations: 0.9989 MB / 0.5394 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.041, allocations: 0 / 0.5394 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.04152, allocations: 95.88 kB / 0.5395 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.04153, allocations: 0 / 0.5395 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.04158, allocations: 15.94 kB / 0.5395 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.04159, allocations: 5.406 kB / 0.5395 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04159, allocations: 0 / 0.5395 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.04335, allocations: 0.776 MB / 0.5403 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.04357, allocations: 89.08 kB / 0.5403 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.04365, allocations: 15.92 kB / 0.5404 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.04396, allocations: 25.64 kB / 0.5404 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.04411, allocations: 40.36 kB / 0.5404 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.04415, allocations: 12 kB / 0.5404 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004559/0.0446, allocations: 295.1 kB / 0.5407 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.0446, allocations: 0 / 0.5407 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005832/0.04519, allocations: 149 kB / 0.5409 GB, free: 12.46 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.0002116/0.0454, allocations: 119.8 kB / 0.541 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.04666, allocations: 488.6 kB / 0.5414 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.04666, allocations: 0.875 kB / 0.5414 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.04717, allocations: 203.3 kB / 0.5416 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.04803, allocations: 143.7 kB / 0.5418 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.05147, allocations: 1.279 MB / 0.543 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.05188, allocations: 297 kB / 0.5433 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003221/0.0522, allocations: 55.92 kB / 0.5434 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.05236, allocations: 53.05 kB / 0.5434 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/0.05236, allocations: 1.344 kB / 0.5434 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of Templates: time 0.015/0.06736, allocations: 5.801 MB / 0.5491 GB, free: 4.25 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.664078266941942]