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.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.001377/0.001377, allocations: 105 kB / 20.44 MB, free: 1.504 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.001505/0.001505, allocations: 209.7 kB / 23.76 MB, free: 4.727 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.9611/0.9611, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.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.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 70.86 kB / 0.6426 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1967, allocations: 89.16 MB / 0.7296 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003902/0.2006, allocations: 2.12 MB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2019, allocations: 0.6195 MB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2021, allocations: 7.938 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.2022, allocations: 27.66 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2024, allocations: 51.59 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2027, allocations: 99.86 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.203, allocations: 303.3 kB / 0.7328 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2033, allocations: 104.5 kB / 0.7329 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2035, allocations: 135.5 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.2037, allocations: 139.4 kB / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.2038, allocations: 32 kB / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.2038, allocations: 32 kB / 0.7332 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.2039, allocations: 79.69 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.204, allocations: 127.4 kB / 0.7334 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.2045, allocations: 330.6 kB / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2045, allocations: 0 / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2045, allocations: 0 / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.2045, allocations: 0 / 0.7337 GB, free: 12.52 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001339/0.2058, allocations: 0.6163 MB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2059, allocations: 8.031 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.206, allocations: 36.75 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.2064, allocations: 214.6 kB / 0.7346 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.2064, allocations: 20.56 kB / 0.7346 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.2065, allocations: 28 kB / 0.7346 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.2072, allocations: 312.2 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2072, allocations: 0 / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.2072, allocations: 8 kB / 0.7349 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2072, allocations: 12 kB / 0.7349 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.2079, allocations: 217.5 kB / 0.7351 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.2092, allocations: 0.6416 MB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.2099, allocations: 206.3 kB / 0.7359 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.2102, allocations: 92.72 kB / 0.736 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2103, allocations: 0 / 0.736 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.2108, allocations: 204.2 kB / 0.7362 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.2108, allocations: 0 / 0.7362 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001123/0.2119, allocations: 360 kB / 0.7366 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.212, allocations: 136.5 kB / 0.7367 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2123, allocations: 230.9 kB / 0.7369 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.2123, allocations: 41.7 kB / 0.737 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2125, allocations: 160.8 kB / 0.7371 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.2125, allocations: 51.62 kB / 0.7372 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2127, allocations: 81.62 kB / 0.7372 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2128, allocations: 334.8 kB / 0.7376 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.2132, allocations: 120.2 kB / 0.7377 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.2137, allocations: 200.7 kB / 0.7379 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.2144, allocations: 323 kB / 0.7382 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2144, allocations: 0 / 0.7382 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009973/0.2154, allocations: 445.1 kB / 0.7386 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.862e-05/0.2155, allocations: 89.09 kB / 0.7387 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2155, allocations: 0 / 0.7387 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2155, allocations: 4 kB / 0.7387 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.2157, allocations: 51.89 kB / 0.7387 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2157, allocations: 7.938 kB / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2161, allocations: 75.84 kB / 0.7388 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2161, allocations: 12 kB / 0.7388 GB, free: 6.926 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.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 (36): * Single equations (assignments): 33 * 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.0001986/0.2163, allocations: 152.4 kB / 0.739 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2164, allocations: 23.86 kB / 0.739 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.2165, allocations: 29.95 kB / 0.739 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2165, allocations: 0 / 0.739 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.2165, allocations: 11.88 kB / 0.739 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2165, allocations: 7.938 kB / 0.739 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.2177, allocations: 0.6029 MB / 0.7396 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2177, allocations: 0 / 0.7396 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2179, allocations: 35.95 kB / 0.7397 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.2179, allocations: 4.031 kB / 0.7397 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.2179, allocations: 7.938 kB / 0.7397 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.2179, allocations: 4 kB / 0.7397 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2179, allocations: 3.984 kB / 0.7397 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.2187, allocations: 362.4 kB / 0.74 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.2187, allocations: 19.89 kB / 0.7401 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.2188, allocations: 8 kB / 0.7401 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2191, allocations: 51.88 kB / 0.7401 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.2193, allocations: 55.89 kB / 0.7402 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.2193, allocations: 12 kB / 0.7402 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001596/0.2194, allocations: 148.7 kB / 0.7403 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2194, allocations: 0 / 0.7403 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003468/0.2198, allocations: 67.84 kB / 0.7404 GB, free: 5.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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.0001738/0.22, allocations: 121.5 kB / 0.7405 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009476/0.2209, allocations: 429.9 kB / 0.7409 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.2209, allocations: 4 kB / 0.7409 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.2213, allocations: 111.8 kB / 0.741 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2217, allocations: 35.91 kB / 0.7411 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.2227, allocations: 443.6 kB / 0.7415 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2231, allocations: 0.744 MB / 0.7422 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2232, allocations: 31.42 kB / 0.7422 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2232, allocations: 0 / 0.7422 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of Templates: time 0.006072/0.2293, allocations: 3.299 MB / 0.7455 GB, free: 15.99 MB / 0.5762 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: 8.472758107818663] Failed to read output from testmodel.py, exit status != 0: 0.2383717829361558 0.25354343700000004 0.045816295 Calling exit ...