Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001578/0.001578, allocations: 74.98 kB / 19.93 MB, free: 1.773 MB / 14.72 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.001795/0.001795, allocations: 169.8 kB / 23.22 MB, free: 4.879 MB / 14.72 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.354/1.354, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.897/0.897, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.5546 GB, free: 2.523 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.343e-05, allocations: 7.281 kB / 0.5546 GB, free: 2.52 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005105/0.005129, allocations: 3.747 MB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.007542, allocations: 1.328 MB / 0.5596 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.007859, allocations: 31.81 kB / 0.5596 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.008205, allocations: 130.7 kB / 0.5597 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.008566, allocations: 190.2 kB / 0.5599 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.009379, allocations: 420.5 kB / 0.5603 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009956/0.01037, allocations: 0.9746 MB / 0.5613 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.01086, allocations: 290.6 kB / 0.5616 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.01146, allocations: 0.495 MB / 0.562 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.01178, allocations: 239.2 kB / 0.5623 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.01191, allocations: 92 kB / 0.5624 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.01203, allocations: 96 kB / 0.5624 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.01219, allocations: 179.3 kB / 0.5626 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.01247, allocations: 255.4 kB / 0.5629 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.01353, allocations: 1.083 MB / 0.5639 GB, free: 8.969 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.01354, allocations: 4 kB / 0.5639 GB, free: 8.965 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01354, allocations: 0 / 0.5639 GB, free: 8.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.01355, allocations: 0 / 0.5639 GB, free: 8.965 MB / 478.1 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.001851/0.0154, allocations: 1.068 MB / 0.565 GB, free: 7.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.01544, allocations: 12.62 kB / 0.565 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01558, allocations: 92.38 kB / 0.5651 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.01643, allocations: 0.4991 MB / 0.5655 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.01648, allocations: 41.69 kB / 0.5656 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/0.01658, allocations: 68.33 kB / 0.5657 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.0177, allocations: 0.6583 MB / 0.5663 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.01772, allocations: 4.125 kB / 0.5663 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.01778, allocations: 24.38 kB / 0.5663 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.01779, allocations: 15.94 kB / 0.5663 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.0188, allocations: 464.9 kB / 0.5668 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.02151, allocations: 1.69 MB / 0.5684 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.02244, allocations: 422.1 kB / 0.5688 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.0229, allocations: 226.2 kB / 0.5691 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.02293, allocations: 4.5 kB / 0.5691 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.02348, allocations: 270.2 kB / 0.5693 GB, free: 3.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/0.02348, allocations: 0 / 0.5693 GB, free: 3.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.001347/0.02483, allocations: 0.5749 MB / 0.5699 GB, free: 2.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.02489, allocations: 63.83 kB / 0.5699 GB, free: 2.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.02537, allocations: 437.9 kB / 0.5704 GB, free: 2.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.02542, allocations: 41.7 kB / 0.5704 GB, free: 2.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.02568, allocations: 324.9 kB / 0.5707 GB, free: 1.805 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.02583, allocations: 174.5 kB / 0.5709 GB, free: 1.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.02598, allocations: 94.33 kB / 0.571 GB, free: 1.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.02616, allocations: 370.7 kB / 0.5713 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.02658, allocations: 190.9 kB / 0.5715 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.02706, allocations: 280.4 kB / 0.5718 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.02792, allocations: 451.2 kB / 0.5722 GB, free: 196 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02793, allocations: 4 kB / 0.5722 GB, free: 192 kB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00113/0.02906, allocations: 0.5902 MB / 0.5728 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.02909, allocations: 29.7 kB / 0.5728 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.0291, allocations: 4 kB / 0.5728 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.02912, allocations: 12.23 kB / 0.5728 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.02962, allocations: 107.8 kB / 0.5729 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.02964, allocations: 15.92 kB / 0.5729 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.02995, allocations: 51.66 kB / 0.573 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.02999, allocations: 20 kB / 0.573 GB, free: 15.34 MB / 494.1 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.0002644/0.03026, allocations: 214.7 kB / 0.5732 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.03034, allocations: 55.62 kB / 0.5733 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.03046, allocations: 65.45 kB / 0.5733 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.03047, allocations: 11.98 kB / 0.5733 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.03048, allocations: 3.938 kB / 0.5733 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.03048, allocations: 0 / 0.5733 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.03221, allocations: 1 MB / 0.5743 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.03221, allocations: 4 kB / 0.5743 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.03271, allocations: 95.89 kB / 0.5744 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.03271, allocations: 3.984 kB / 0.5744 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.03275, allocations: 15.94 kB / 0.5744 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.03275, allocations: 0 / 0.5744 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03275, allocations: 0 / 0.5744 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.03422, allocations: 0.763 MB / 0.5752 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.0344, allocations: 99.52 kB / 0.5753 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.03446, allocations: 15.94 kB / 0.5753 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.03475, allocations: 23.97 kB / 0.5753 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.03485, allocations: 36.44 kB / 0.5753 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.03489, allocations: 19.98 kB / 0.5754 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.03523, allocations: 295.1 kB / 0.5756 GB, free: 12.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03523, allocations: 0 / 0.5756 GB, free: 12.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000456/0.03568, allocations: 139.6 kB / 0.5758 GB, free: 12.43 MB / 494.1 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 0.0001427/0.03583, allocations: 127.1 kB / 0.5759 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009796/0.03681, allocations: 487.2 kB / 0.5764 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.03681, allocations: 0 / 0.5764 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.03724, allocations: 203.3 kB / 0.5766 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.03799, allocations: 145 kB / 0.5767 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.04055, allocations: 1.25 MB / 0.5779 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.04084, allocations: 292.7 kB / 0.5782 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.04107, allocations: 56.56 kB / 0.5782 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.0412, allocations: 40.48 kB / 0.5783 GB, free: 9.789 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.0412, allocations: 0 / 0.5783 GB, free: 9.789 MB / 494.1 MB Notification: Performance of Templates: time 0.0119/0.05309, allocations: 5.766 MB / 0.5839 GB, free: 4.164 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2147032506763935] Failed to read output from testmodel.py, exit status != 0: 0.06124105304479599 0.075617842 0.05906262 Calling exit ...