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.0007327/0.0007327, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007295/0.0007295, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.8589/0.8589, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.557/0.557, allocations: 114 MB / 374.7 MB, free: 8.715 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.412e-06/1.412e-06, allocations: 0 / 0.5554 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.009e-05, allocations: 4.672 kB / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003358/0.003378, allocations: 3.735 MB / 0.559 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.005253, allocations: 1.328 MB / 0.5603 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.005542, allocations: 31.81 kB / 0.5604 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.005796, allocations: 126.7 kB / 0.5605 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.006038, allocations: 194.2 kB / 0.5607 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.006599, allocations: 430.2 kB / 0.5611 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.00744, allocations: 0.9785 MB / 0.562 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.007968, allocations: 286.6 kB / 0.5623 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.008541, allocations: 0.495 MB / 0.5628 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.008764, allocations: 239.2 kB / 0.563 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.008838, allocations: 92 kB / 0.5631 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.245e-05/0.008901, allocations: 92 kB / 0.5632 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.008991, allocations: 179.4 kB / 0.5634 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.009154, allocations: 255.3 kB / 0.5636 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.009827, allocations: 1.083 MB / 0.5647 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.009829, allocations: 0 / 0.5647 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.353e-06/0.009831, allocations: 4 kB / 0.5647 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.009838, allocations: 0 / 0.5647 GB, free: 8.734 MB / 0.5261 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.001176/0.01101, allocations: 1.068 MB / 0.5657 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.01105, allocations: 12.03 kB / 0.5657 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.01114, allocations: 88.38 kB / 0.5658 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.01172, allocations: 0.4992 MB / 0.5663 GB, free: 7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.01174, allocations: 45.69 kB / 0.5663 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.0118, allocations: 52.38 kB / 0.5664 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.01247, allocations: 0.6583 MB / 0.567 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01249, allocations: 8.188 kB / 0.567 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.01252, allocations: 24.38 kB / 0.5671 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01253, allocations: 15.94 kB / 0.5671 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.01311, allocations: 457 kB / 0.5675 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.01477, allocations: 1.698 MB / 0.5692 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.0153, allocations: 425.5 kB / 0.5696 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.01559, allocations: 230.2 kB / 0.5698 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.01561, allocations: 4.5 kB / 0.5698 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.01593, allocations: 254.2 kB / 0.57 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.01593, allocations: 4 kB / 0.57 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.0008379/0.01677, allocations: 0.5872 MB / 0.5706 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.0168, allocations: 59.84 kB / 0.5707 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.01711, allocations: 437.8 kB / 0.5711 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.01714, allocations: 37.7 kB / 0.5711 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.0173, allocations: 336.8 kB / 0.5715 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.0174, allocations: 174.5 kB / 0.5716 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01751, allocations: 90.34 kB / 0.5717 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01763, allocations: 366.8 kB / 0.5721 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.01799, allocations: 194.9 kB / 0.5722 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.01839, allocations: 284.3 kB / 0.5725 GB, free: 448 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.01913, allocations: 451.2 kB / 0.5729 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.01914, allocations: 0 / 0.5729 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009549/0.02009, allocations: 0.5941 MB / 0.5735 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.02013, allocations: 35.27 kB / 0.5736 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.02014, allocations: 4 kB / 0.5736 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.02015, allocations: 4 kB / 0.5736 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.02048, allocations: 111.9 kB / 0.5737 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.02049, allocations: 11.88 kB / 0.5737 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.02064, allocations: 59.89 kB / 0.5737 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02066, allocations: 20 kB / 0.5738 GB, free: 15.11 MB / 0.5417 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 (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.0001951/0.02086, allocations: 202.5 kB / 0.5739 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.02092, allocations: 59.56 kB / 0.574 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.02103, allocations: 65.44 kB / 0.5741 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.02103, allocations: 4 kB / 0.5741 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.02104, allocations: 3.938 kB / 0.5741 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.02105, allocations: 3.984 kB / 0.5741 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.02252, allocations: 1 MB / 0.5751 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02253, allocations: 0 / 0.5751 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.02291, allocations: 91.88 kB / 0.5751 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.02292, allocations: 3.938 kB / 0.5751 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.02295, allocations: 15.94 kB / 0.5752 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02296, allocations: 0 / 0.5752 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.02296, allocations: 4 kB / 0.5752 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.02442, allocations: 0.7631 MB / 0.5759 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.02453, allocations: 91.53 kB / 0.576 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.02457, allocations: 19.92 kB / 0.576 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.02471, allocations: 19.98 kB / 0.576 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.02478, allocations: 40.42 kB / 0.5761 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.02479, allocations: 16.12 kB / 0.5761 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002064/0.025, allocations: 295.1 kB / 0.5764 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.025, allocations: 3.938 kB / 0.5764 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003059/0.02531, allocations: 143.6 kB / 0.5765 GB, free: 12.22 MB / 0.5417 GB 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.0001119/0.02542, allocations: 122.2 kB / 0.5766 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.02603, allocations: 495.2 kB / 0.5771 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02603, allocations: 0 / 0.5771 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.02627, allocations: 206.7 kB / 0.5773 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.02669, allocations: 155.1 kB / 0.5774 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.0282, allocations: 1.275 MB / 0.5787 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.02837, allocations: 292.7 kB / 0.579 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.02848, allocations: 44.5 kB / 0.579 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.02848, allocations: 0 / 0.579 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of Templates: time 0.006352/0.03483, allocations: 7.816 MB / 0.5866 GB, free: 1.805 MB / 0.5417 GB " [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.271816432476044] Failed to read output from testmodel.py, exit status != 0: 0.04023534245789051 0.047682572000000006 0.036284183000000005 Calling exit ...