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.001133/0.001133, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.0009917/0.0009917, allocations: 172.3 kB / 24.84 MB, free: 9.293 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.079/1.079, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 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.5798/0.5798, allocations: 115 MB / 376.8 MB, free: 7.488 MB / 346.7 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.393e-06/1.393e-06, allocations: 0 / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.477e-05, allocations: 4.344 kB / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003317/0.003332, allocations: 3.922 MB / 486.6 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.00498, allocations: 1.341 MB / 488 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.005247, allocations: 32.81 kB / 488 MB, free: 8.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.005484, allocations: 130.8 kB / 488.1 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.005718, allocations: 189.8 kB / 488.3 MB, free: 7.973 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.006241, allocations: 417.4 kB / 488.7 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.006897, allocations: 0.9687 MB / 489.7 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.007234, allocations: 289.2 kB / 490 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.007638, allocations: 0.5072 MB / 490.5 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.007849, allocations: 237.8 kB / 490.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.007936, allocations: 88.84 kB / 490.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.008019, allocations: 87.28 kB / 490.9 MB, free: 6.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.008093, allocations: 175.3 kB / 491.1 MB, free: 6.516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.00825, allocations: 251.2 kB / 491.3 MB, free: 6.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.008649, allocations: 0.5683 MB / 491.9 MB, free: 6.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.008651, allocations: 4 kB / 491.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.008652, allocations: 0 / 491.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.008659, allocations: 3.25 kB / 491.9 MB, free: 6.039 MB / 410.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.0009842/0.009644, allocations: 1.157 MB / 493 MB, free: 5.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.009674, allocations: 9.469 kB / 493 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.009802, allocations: 129.5 kB / 493.2 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.01026, allocations: 0.5409 MB / 493.7 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.01029, allocations: 46.44 kB / 493.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.01035, allocations: 61.47 kB / 493.8 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.01082, allocations: 496.2 kB / 494.3 MB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01083, allocations: 5.578 kB / 494.3 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.01087, allocations: 22.41 kB / 494.3 MB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.01088, allocations: 17.59 kB / 494.3 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.01112, allocations: 187.6 kB / 494.5 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.01258, allocations: 1.725 MB / 496.3 MB, free: 19.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.01288, allocations: 250.1 kB / 496.5 MB, free: 19.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.013, allocations: 110.5 kB / 496.6 MB, free: 19.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01302, allocations: 8.062 kB / 496.6 MB, free: 19.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.01319, allocations: 163.9 kB / 496.8 MB, free: 19.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.01319, allocations: 3.938 kB / 496.8 MB, free: 19.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004075/0.0136, allocations: 345.4 kB / 497.1 MB, free: 18.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.01362, allocations: 60.34 kB / 497.2 MB, free: 18.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.01388, allocations: 443.5 kB / 497.6 MB, free: 18.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.0139, allocations: 36.39 kB / 497.6 MB, free: 18.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.01404, allocations: 380.7 kB / 498 MB, free: 18.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.01411, allocations: 171.4 kB / 498.2 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.0142, allocations: 105.6 kB / 498.3 MB, free: 18.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.01435, allocations: 0.5382 MB / 498.8 MB, free: 17.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.01445, allocations: 85.06 kB / 498.9 MB, free: 17.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.01457, allocations: 204.5 kB / 499.1 MB, free: 17.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.01479, allocations: 272.8 kB / 499.4 MB, free: 17.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01479, allocations: 1.188 kB / 499.4 MB, free: 17.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003792/0.01517, allocations: 411.4 kB / 499.8 MB, free: 16.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.0152, allocations: 35.81 kB / 499.8 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.0152, allocations: 7.172 kB / 499.8 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.01522, allocations: 4.5 kB / 499.8 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.01549, allocations: 113.5 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.0155, allocations: 4.312 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.01563, allocations: 56.94 kB / 500 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.01565, allocations: 13.75 kB / 0.4883 GB, free: 16.86 MB / 426.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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001253/0.01578, allocations: 188.3 kB / 0.4885 GB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.01584, allocations: 74.78 kB / 0.4885 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.0159, allocations: 66.77 kB / 0.4886 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01591, allocations: 4.469 kB / 0.4886 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01591, allocations: 1.125 kB / 0.4886 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.01592, allocations: 8.5 kB / 0.4886 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.01661, allocations: 0.7678 MB / 0.4894 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01661, allocations: 0 / 0.4894 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.01685, allocations: 90.53 kB / 0.4894 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01685, allocations: 1.188 kB / 0.4895 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.01687, allocations: 14.66 kB / 0.4895 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01688, allocations: 2 kB / 0.4895 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01688, allocations: 10.36 kB / 0.4895 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.01735, allocations: 0.5144 MB / 0.49 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.01744, allocations: 96.14 kB / 0.4901 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.01748, allocations: 15.41 kB / 0.4901 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.0176, allocations: 20.75 kB / 0.4901 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.01766, allocations: 38.11 kB / 0.4901 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01767, allocations: 12.66 kB / 0.4902 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.01782, allocations: 276.2 kB / 0.4904 GB, free: 15.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01782, allocations: 0 / 0.4904 GB, free: 15.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.0181, allocations: 141.2 kB / 0.4906 GB, free: 15.52 MB / 426.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 8.348e-05/0.01819, allocations: 114.1 kB / 0.4907 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.01851, allocations: 316.7 kB / 0.491 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01851, allocations: 0 / 0.491 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.01865, allocations: 128.4 kB / 0.4911 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.01906, allocations: 146.9 kB / 0.4912 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.02048, allocations: 1.161 MB / 0.4924 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.02056, allocations: 133.4 kB / 0.4925 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.02072, allocations: 62.61 kB / 0.4925 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.02097, allocations: 184.8 kB / 0.4927 GB, free: 14.41 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02097, allocations: 1.125 kB / 0.4927 GB, free: 14.41 MB / 426.7 MB Notification: Performance of Templates: time 0.009973/0.03094, allocations: 6.469 MB / 0.499 GB, free: 11.26 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.570680206641555]