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.0009629/0.0009629, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002331, allocations: 449.8 kB / 10.44 MB, free: 248 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.001029/0.001029, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002433, allocations: 479.5 kB / 11.82 MB, free: 2.34 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 1.012/1.012, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09896/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.927/1.927, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4818/2.409, allocations: 127.1 MB / 0.7435 GB, free: 4.527 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 1.483e-06/1.483e-06, allocations: 0 / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.689e-05, allocations: 5.672 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00569/0.005717, allocations: 4.022 MB / 0.7487 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003161/0.008878, allocations: 1.416 MB / 0.7501 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005834/0.009462, allocations: 31.75 kB / 0.7501 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.009818, allocations: 122.7 kB / 0.7502 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.01027, allocations: 200.1 kB / 0.7504 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.01117, allocations: 415.3 kB / 0.7508 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.01225, allocations: 0.9591 MB / 0.7517 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.01277, allocations: 298.6 kB / 0.752 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007747/0.01355, allocations: 0.5547 MB / 0.7526 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.0139, allocations: 241.2 kB / 0.7528 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.01402, allocations: 88 kB / 0.7529 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.01414, allocations: 88 kB / 0.753 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.01427, allocations: 135.6 kB / 0.7531 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.0145, allocations: 207.5 kB / 0.7533 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.01521, allocations: 0.5271 MB / 0.7538 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.01522, allocations: 0 / 0.7538 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/0.01523, allocations: 3.984 kB / 0.7538 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.01525, allocations: 0 / 0.7538 GB, free: 9.984 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.001693/0.01694, allocations: 1.114 MB / 0.7549 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01698, allocations: 8.031 kB / 0.7549 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.01715, allocations: 104.8 kB / 0.755 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.01788, allocations: 418.7 kB / 0.7554 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.01792, allocations: 46.22 kB / 0.7555 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.01802, allocations: 64.33 kB / 0.7555 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.01874, allocations: 492.1 kB / 0.756 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.01876, allocations: 4.188 kB / 0.756 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.01881, allocations: 20.38 kB / 0.756 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.01883, allocations: 23.88 kB / 0.756 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.01918, allocations: 155.3 kB / 0.7562 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.02123, allocations: 1.294 MB / 0.7574 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.02164, allocations: 215.2 kB / 0.7577 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.02179, allocations: 95.25 kB / 0.7577 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.02183, allocations: 16.47 kB / 0.7578 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.0221, allocations: 163.4 kB / 0.7579 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/0.0221, allocations: 3.938 kB / 0.7579 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.0004917/0.02259, allocations: 262.5 kB / 0.7582 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.02264, allocations: 57.09 kB / 0.7582 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.02299, allocations: 383.2 kB / 0.7586 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.02302, allocations: 33.7 kB / 0.7586 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.02319, allocations: 279.4 kB / 0.7589 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.02332, allocations: 174.5 kB / 0.7591 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.02346, allocations: 102.2 kB / 0.7592 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.02359, allocations: 375.1 kB / 0.7595 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.02372, allocations: 75.73 kB / 0.7596 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.02389, allocations: 168.3 kB / 0.7597 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.0242, allocations: 258.7 kB / 0.76 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.0242, allocations: 0 / 0.76 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004244/0.02463, allocations: 324.7 kB / 0.7603 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.02468, allocations: 33.7 kB / 0.7603 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02468, allocations: 0 / 0.7603 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.0247, allocations: 8.656 kB / 0.7603 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.02523, allocations: 148.1 kB / 0.7605 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.02523, allocations: 4 kB / 0.7605 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.02544, allocations: 52.78 kB / 0.7605 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.02547, allocations: 15.98 kB / 0.7605 GB, free: 2.816 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.0001606/0.02563, allocations: 148.2 kB / 0.7607 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.0257, allocations: 48.73 kB / 0.7607 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.0258, allocations: 65.44 kB / 0.7608 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.0258, allocations: 5.312 kB / 0.7608 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02581, allocations: 3.938 kB / 0.7608 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.02581, allocations: 0 / 0.7608 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.02672, allocations: 0.5805 MB / 0.7614 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.02673, allocations: 0.5312 kB / 0.7614 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.02716, allocations: 114.9 kB / 0.7615 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.02729, allocations: 67.42 kB / 0.7615 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.0273, allocations: 0 / 0.7615 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.02732, allocations: 12 kB / 0.7616 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.02733, allocations: 3.156 kB / 0.7616 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02733, allocations: 4 kB / 0.7616 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.02788, allocations: 410.6 kB / 0.762 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.02793, allocations: 8 kB / 0.762 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.02812, allocations: 19.98 kB / 0.762 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.0282, allocations: 36.42 kB / 0.762 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.02822, allocations: 11.03 kB / 0.762 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000178/0.0284, allocations: 164.7 kB / 0.7622 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.0284, allocations: 0 / 0.7622 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004373/0.02884, allocations: 143.6 kB / 0.7623 GB, free: 0.9648 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.0001397/0.02898, allocations: 92.36 kB / 0.7624 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.0294, allocations: 307.5 kB / 0.7627 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.7e-05/0.02943, allocations: 24.94 kB / 0.7627 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.02965, allocations: 141.6 kB / 0.7629 GB, free: 392 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.03069, allocations: 1.172 MB / 0.764 GB, free: 15.01 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.03692, allocations: 1.151 MB / 0.7651 GB, free: 13.82 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.03705, allocations: 137.9 kB / 0.7653 GB, free: 13.66 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.03738, allocations: 59.75 kB / 0.7653 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.03772, allocations: 162.7 kB / 0.7655 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of SimCode: time 1.813e-06/0.03773, allocations: 0 / 0.7655 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of Templates: time 0.01386/0.05158, allocations: 6.533 MB / 0.7719 GB, free: 7.191 MB / 0.7449 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: 4.946463161148131]