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.001328/0.001328, allocations: 84.22 kB / 20.95 MB, free: 3.605 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.001564/0.001564, allocations: 169 kB / 24.25 MB, free: 308 kB / 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 0.9888/0.9888, allocations: 177.2 MB / 204.6 MB, free: 5.621 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.6314/0.6314, allocations: 115 MB / 376 MB, free: 7.652 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.503e-06/1.503e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.656e-05, allocations: 4.719 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004264/0.00429, allocations: 3.982 MB / 485.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.006564, allocations: 1.351 MB / 486.8 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.006969, allocations: 29.09 kB / 486.8 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.007268, allocations: 126.3 kB / 487 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.007555, allocations: 192.5 kB / 487.1 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.008254, allocations: 413 kB / 487.5 MB, free: 7.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.009094, allocations: 0.9784 MB / 488.5 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.009528, allocations: 281.3 kB / 488.8 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.0101, allocations: 0.5019 MB / 489.3 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.0105, allocations: 237.5 kB / 489.5 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.01067, allocations: 91.12 kB / 489.6 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.0108, allocations: 91.41 kB / 489.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.01091, allocations: 181.3 kB / 489.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.01121, allocations: 256.6 kB / 490.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.012, allocations: 0.5812 MB / 490.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.01201, allocations: 0 / 490.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.01201, allocations: 1.469 kB / 490.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.399e-05/0.01205, allocations: 0.5625 kB / 490.7 MB, free: 6.18 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.001744/0.01379, allocations: 1.16 MB / 491.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.01385, allocations: 9.594 kB / 491.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.01409, allocations: 130.3 kB / 492 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.01487, allocations: 0.541 MB / 492.6 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.01491, allocations: 41.91 kB / 492.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.015, allocations: 68.41 kB / 492.7 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.01583, allocations: 0.5158 MB / 493.2 MB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01585, allocations: 6.172 kB / 493.2 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.01589, allocations: 27.16 kB / 493.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.01592, allocations: 17.09 kB / 493.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.01642, allocations: 223.4 kB / 493.5 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.01852, allocations: 1.803 MB / 495.3 MB, free: 19.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.01899, allocations: 279.2 kB / 495.5 MB, free: 19.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.01917, allocations: 125 kB / 495.6 MB, free: 19.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.0192, allocations: 9.719 kB / 495.7 MB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.01945, allocations: 181.6 kB / 495.8 MB, free: 19.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.876e-06/0.01946, allocations: 1.906 kB / 495.8 MB, free: 19.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006144/0.02007, allocations: 384.5 kB / 496.2 MB, free: 18.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.02011, allocations: 65.25 kB / 496.3 MB, free: 18.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.02045, allocations: 447.1 kB / 496.7 MB, free: 18.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.02047, allocations: 36.48 kB / 496.7 MB, free: 18.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.02064, allocations: 384.1 kB / 497.1 MB, free: 18.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.02072, allocations: 171.6 kB / 497.3 MB, free: 18.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.02083, allocations: 99.03 kB / 497.4 MB, free: 18.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.02099, allocations: 0.5313 MB / 497.9 MB, free: 17.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.02115, allocations: 103.8 kB / 498 MB, free: 17.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.02133, allocations: 212.5 kB / 498.2 MB, free: 17.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.02165, allocations: 307.4 kB / 498.5 MB, free: 17.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.02165, allocations: 0 / 498.5 MB, free: 17.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005078/0.02216, allocations: 450.2 kB / 499 MB, free: 16.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.02219, allocations: 36.53 kB / 499 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.0222, allocations: 2.531 kB / 499 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.02222, allocations: 9.281 kB / 499 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.02252, allocations: 110.9 kB / 499.1 MB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.02253, allocations: 16.17 kB / 499.1 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.02269, allocations: 47.14 kB / 499.2 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.02271, allocations: 17.91 kB / 499.2 MB, 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 (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.0001643/0.02288, allocations: 193.5 kB / 499.4 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.02295, allocations: 73.91 kB / 499.5 MB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.02303, allocations: 62.02 kB / 499.5 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.02304, allocations: 4.625 kB / 499.5 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.02305, allocations: 4.5 kB / 499.5 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.02305, allocations: 4.625 kB / 499.5 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/0.02401, allocations: 0.8687 MB / 0.4887 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02401, allocations: 4 kB / 0.4887 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.02427, allocations: 92.77 kB / 0.4888 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02428, allocations: 2.781 kB / 0.4888 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.0243, allocations: 13.58 kB / 0.4888 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.0243, allocations: 3.281 kB / 0.4888 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02431, allocations: 3.938 kB / 0.4888 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.02492, allocations: 0.5523 MB / 0.4893 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.02503, allocations: 98.48 kB / 0.4894 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.02508, allocations: 15.03 kB / 0.4894 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.02521, allocations: 16.67 kB / 0.4895 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.02529, allocations: 39.34 kB / 0.4895 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.02531, allocations: 13.5 kB / 0.4895 GB, free: 15.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.02553, allocations: 291.3 kB / 0.4898 GB, free: 15.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.02554, allocations: 0.5625 kB / 0.4898 GB, free: 15.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000353/0.02589, allocations: 142.1 kB / 0.4899 GB, free: 15.45 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 0.0001157/0.026, allocations: 114.7 kB / 0.49 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.02645, allocations: 344 kB / 0.4904 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02645, allocations: 1.344 kB / 0.4904 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.02663, allocations: 145.8 kB / 0.4905 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.02716, allocations: 158.5 kB / 0.4907 GB, free: 15.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.02901, allocations: 1.173 MB / 0.4918 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.0291, allocations: 132 kB / 0.4919 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.02931, allocations: 60.3 kB / 0.492 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.02941, allocations: 41.38 kB / 0.492 GB, free: 14.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02941, allocations: 0 / 0.492 GB, free: 14.36 MB / 426.7 MB Notification: Performance of Templates: time 0.01062/0.04003, allocations: 5.805 MB / 0.4977 GB, free: 11.9 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.6103701111860573]