Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001004/0.001004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002345, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001028/0.001028, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.00231, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9886/0.9886, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09374/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.9 MB / 0.619 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5651/2.493, allocations: 127.1 MB / 0.7432 GB, free: 4.594 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 4 kB / 0.7444 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.968e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004465/0.004494, allocations: 4.031 MB / 0.7484 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.007062, allocations: 1.403 MB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.00745, allocations: 27.81 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.007712, allocations: 134.6 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.008001, allocations: 194.5 kB / 0.7501 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.008624, allocations: 415.9 kB / 0.7505 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.009369, allocations: 0.9596 MB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.009755, allocations: 298.6 kB / 0.7517 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.01031, allocations: 0.5592 MB / 0.7523 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.01056, allocations: 239.8 kB / 0.7525 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.01064, allocations: 88 kB / 0.7526 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.01071, allocations: 89.41 kB / 0.7527 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.01081, allocations: 135.6 kB / 0.7528 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.01097, allocations: 203.6 kB / 0.753 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.0115, allocations: 0.5308 MB / 0.7535 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.826e-05/0.01151, allocations: 0 / 0.7535 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01152, allocations: 0 / 0.7535 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.01153, allocations: 0 / 0.7535 GB, free: 10.07 MB / 0.7292 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.001162/0.0127, allocations: 1.105 MB / 0.7546 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.01273, allocations: 8.031 kB / 0.7546 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.01286, allocations: 114.5 kB / 0.7547 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.01337, allocations: 416.1 kB / 0.7551 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.0134, allocations: 45.69 kB / 0.7551 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.01347, allocations: 68.31 kB / 0.7552 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.01394, allocations: 493.3 kB / 0.7557 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01395, allocations: 192 / 0.7557 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.01399, allocations: 24.38 kB / 0.7557 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.014, allocations: 15.94 kB / 0.7557 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.01422, allocations: 162.3 kB / 0.7559 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.01565, allocations: 1.286 MB / 0.7571 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.01594, allocations: 230.4 kB / 0.7573 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01605, allocations: 99.66 kB / 0.7574 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.01608, allocations: 8.5 kB / 0.7574 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.01629, allocations: 163.5 kB / 0.7576 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 2.375e-06/0.01629, allocations: 4 kB / 0.7576 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.0003395/0.01663, allocations: 262.5 kB / 0.7578 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.01667, allocations: 57 kB / 0.7579 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.01693, allocations: 379.2 kB / 0.7583 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.01696, allocations: 37.7 kB / 0.7583 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01708, allocations: 279.5 kB / 0.7586 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.01717, allocations: 174.5 kB / 0.7587 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.01727, allocations: 102.2 kB / 0.7588 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01738, allocations: 370.6 kB / 0.7592 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.01747, allocations: 75.73 kB / 0.7593 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.01759, allocations: 165.9 kB / 0.7594 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.01781, allocations: 261 kB / 0.7597 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.01782, allocations: 1.5 kB / 0.7597 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002941/0.01811, allocations: 323.6 kB / 0.76 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.01816, allocations: 37.69 kB / 0.76 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01817, allocations: 0 / 0.76 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01818, allocations: 4 kB / 0.76 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.01852, allocations: 149.5 kB / 0.7602 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01853, allocations: 4 kB / 0.7602 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.01867, allocations: 52.78 kB / 0.7602 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.01869, allocations: 16 kB / 0.7602 GB, free: 2.895 MB / 0.7292 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,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0001389/0.01883, allocations: 148.2 kB / 0.7604 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.01888, allocations: 48.52 kB / 0.7604 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.01896, allocations: 63.23 kB / 0.7605 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01896, allocations: 8 kB / 0.7605 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01897, allocations: 3.938 kB / 0.7605 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.01898, allocations: 3.984 kB / 0.7605 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.01962, allocations: 0.5771 MB / 0.7611 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01962, allocations: 0 / 0.7611 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.0199, allocations: 113.1 kB / 0.7612 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.02, allocations: 67.42 kB / 0.7612 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.02, allocations: 4 kB / 0.7612 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.02002, allocations: 12 kB / 0.7612 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02002, allocations: 1.031 kB / 0.7612 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02002, allocations: 0 / 0.7612 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.02041, allocations: 400.1 kB / 0.7616 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.02045, allocations: 12 kB / 0.7616 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.02056, allocations: 21.02 kB / 0.7617 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.02062, allocations: 40.36 kB / 0.7617 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.02063, allocations: 13.38 kB / 0.7617 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001158/0.02075, allocations: 160.7 kB / 0.7619 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02075, allocations: 4 kB / 0.7619 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002876/0.02104, allocations: 143.6 kB / 0.762 GB, free: 1.039 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.0001184/0.02116, allocations: 89.86 kB / 0.7621 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.02146, allocations: 303.3 kB / 0.7624 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.02147, allocations: 15.92 kB / 0.7624 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.02159, allocations: 125.2 kB / 0.7625 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.022, allocations: 190.8 kB / 0.7627 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.02613, allocations: 1.144 MB / 0.7638 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.185e-05/0.02622, allocations: 137.9 kB / 0.7639 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.02644, allocations: 64.98 kB / 0.764 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.02667, allocations: 169.2 kB / 0.7642 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of SimCode: time 1.482e-06/0.02667, allocations: 0 / 0.7642 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.01028/0.03695, allocations: 6.671 MB / 0.7707 GB, free: 8.371 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.077698925510049]