Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 121.2 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 189.5 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8185/0.8185, allocations: 128.4 MB / 432.4 MB, free: 13.31 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 79.86 kB / 0.5988 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3786, allocations: 83.25 MB / 0.6801 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002775/0.3813, allocations: 2.031 MB / 0.6821 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.3822, allocations: 0.583 MB / 0.6826 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3824, allocations: 6.656 kB / 0.6826 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.3825, allocations: 23.73 kB / 0.6827 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3826, allocations: 44.64 kB / 0.6827 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.3828, allocations: 91.47 kB / 0.6828 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.3831, allocations: 284.3 kB / 0.6831 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.3833, allocations: 92.58 kB / 0.6832 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3834, allocations: 123.3 kB / 0.6833 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3835, allocations: 125.9 kB / 0.6834 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.3836, allocations: 32.5 kB / 0.6834 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.3836, allocations: 29.59 kB / 0.6834 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3837, allocations: 63.5 kB / 0.6835 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.3838, allocations: 123.7 kB / 0.6836 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.384, allocations: 303.8 kB / 0.6839 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3841, allocations: 0 / 0.6839 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3841, allocations: 5.094 kB / 0.6839 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3841, allocations: 0 / 0.6839 GB, free: 4.004 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001067/0.3851, allocations: 0.6546 MB / 0.6846 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3852, allocations: 9.25 kB / 0.6846 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.3852, allocations: 32.81 kB / 0.6846 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3856, allocations: 276 kB / 0.6849 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.3856, allocations: 22.62 kB / 0.6849 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.3856, allocations: 20.72 kB / 0.6849 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.3862, allocations: 280.4 kB / 0.6852 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3862, allocations: 4 kB / 0.6852 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3862, allocations: 6.625 kB / 0.6852 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3862, allocations: 4.062 kB / 0.6852 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.3869, allocations: 206.8 kB / 0.6854 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3879, allocations: 0.6494 MB / 0.686 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.3885, allocations: 195.9 kB / 0.6862 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.3888, allocations: 84.59 kB / 0.6863 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3888, allocations: 1.406 kB / 0.6863 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.3893, allocations: 197 kB / 0.6865 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/0.3893, allocations: 9.141 kB / 0.6865 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001006/0.3903, allocations: 335.9 kB / 0.6868 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3903, allocations: 137.7 kB / 0.6869 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3905, allocations: 219 kB / 0.6871 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3906, allocations: 40.45 kB / 0.6872 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3906, allocations: 157 kB / 0.6873 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3907, allocations: 55.78 kB / 0.6874 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.3908, allocations: 68.55 kB / 0.6875 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.3908, allocations: 339.5 kB / 0.6878 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.3912, allocations: 114.2 kB / 0.6879 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.3915, allocations: 184.8 kB / 0.6881 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.3921, allocations: 301.6 kB / 0.6883 GB, free: 424 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3921, allocations: 0 / 0.6883 GB, free: 424 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000842/0.393, allocations: 438.4 kB / 0.6888 GB, free: 144 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.393, allocations: 89.78 kB / 0.6889 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.393, allocations: 1 kB / 0.6889 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.393, allocations: 3.094 kB / 0.6889 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3933, allocations: 48.92 kB / 0.6889 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3933, allocations: 2.281 kB / 0.6889 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3937, allocations: 64.36 kB / 0.689 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.3937, allocations: 11.94 kB / 0.689 GB, free: 15.99 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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.0001773/0.3939, allocations: 151.9 kB / 0.6891 GB, free: 15.85 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.3939, allocations: 25.33 kB / 0.6891 GB, free: 15.83 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.394, allocations: 22.69 kB / 0.6892 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.394, allocations: 2.469 kB / 0.6892 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.394, allocations: 0 / 0.6892 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.394, allocations: 7.984 kB / 0.6892 GB, free: 15.81 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.3951, allocations: 0.6174 MB / 0.6898 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3951, allocations: 0 / 0.6898 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3953, allocations: 30.78 kB / 0.6898 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3953, allocations: 1.125 kB / 0.6898 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3953, allocations: 9.297 kB / 0.6898 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3953, allocations: 1.125 kB / 0.6898 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3953, allocations: 0 / 0.6898 GB, free: 15.29 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.3961, allocations: 352.2 kB / 0.6902 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3961, allocations: 93.28 kB / 0.6902 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3962, allocations: 16.23 kB / 0.6903 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.3965, allocations: 46.78 kB / 0.6903 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3966, allocations: 47.94 kB / 0.6904 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.3967, allocations: 16.98 kB / 0.6904 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.000133/0.3968, allocations: 151.1 kB / 0.6905 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.3968, allocations: 5.062 kB / 0.6905 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003182/0.3971, allocations: 57.98 kB / 0.6906 GB, free: 14.75 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001691/0.3973, allocations: 124 kB / 0.6907 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009332/0.3982, allocations: 416.5 kB / 0.6911 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3982, allocations: 1.156 kB / 0.6911 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.3986, allocations: 113.3 kB / 0.6912 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.399, allocations: 43.03 kB / 0.6912 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.3999, allocations: 410.9 kB / 0.6916 GB, free: 13.96 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4002, allocations: 0.7429 MB / 0.6924 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4003, allocations: 29.33 kB / 0.6924 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of SimCode: time 3.2e-07/0.4003, allocations: 0 / 0.6924 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of Templates: time 0.005298/0.4056, allocations: 3.094 MB / 0.6954 GB, free: 11.61 MB / 0.5138 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.535717755090445] Failed to read output from testmodel.py, exit status != 0: 0.4132912210188806 0.425068138 0.038406274000000004 Calling exit ...