Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001004/0.001004, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001147/0.001147, allocations: 169 kB / 24.14 MB, free: 360 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.9411/0.9411, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.5975/0.5975, allocations: 115 MB / 376 MB, free: 7.508 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.167e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009869/0.00989, allocations: 13.25 MB / 442 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.19/0.1998, allocations: 6.44 MB / 448.4 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2014, allocations: 86.47 kB / 448.5 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.2023, allocations: 371.8 kB / 448.9 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.2051, allocations: 1.373 MB / 450.2 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.208, allocations: 1.438 MB / 451.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.2126, allocations: 3.454 MB / 455.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.2141, allocations: 0.8727 MB / 456 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.2178, allocations: 1.655 MB / 457.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2195, allocations: 0.7681 MB / 458.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.2197, allocations: 101.6 kB / 458.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009177/0.2206, allocations: 292 kB / 458.8 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.2209, allocations: 316.2 kB / 459.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000685/0.2216, allocations: 448.9 kB / 459.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.2232, allocations: 1.088 MB / 460.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2232, allocations: 1.781 kB / 460.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2232, allocations: 0 / 460.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.2233, allocations: 0 / 460.7 MB, free: 14.36 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001921/0.2252, allocations: 1.423 MB / 462.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2252, allocations: 11.72 kB / 462.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.2256, allocations: 171.1 kB / 462.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.2267, allocations: 0.7809 MB / 463 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.2268, allocations: 61.38 kB / 463.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.2269, allocations: 85.53 kB / 463.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.2276, allocations: 0.6947 MB / 463.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2276, allocations: 0.5625 kB / 463.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.2276, allocations: 34.28 kB / 463.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.2277, allocations: 19.81 kB / 463.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.228, allocations: 198.7 kB / 464.1 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.2303, allocations: 2.198 MB / 466.3 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.2305, allocations: 172.1 kB / 466.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.2306, allocations: 69.08 kB / 466.6 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.2307, allocations: 29.78 kB / 466.6 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2308, allocations: 39 kB / 466.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.2308, allocations: 0 / 466.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003656/0.2311, allocations: 211.5 kB / 466.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2312, allocations: 58.41 kB / 466.9 MB, free: 10.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.2317, allocations: 0.7512 MB / 467.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.2318, allocations: 34.05 kB / 467.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2319, allocations: 427.8 kB / 468.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.232, allocations: 121.6 kB / 468.2 MB, free: 9.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.2321, allocations: 138.7 kB / 468.3 MB, free: 9.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.2322, allocations: 341.2 kB / 468.7 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.2323, allocations: 71.7 kB / 468.7 MB, free: 9.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2325, allocations: 0.5065 MB / 469.2 MB, free: 8.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.2329, allocations: 487.8 kB / 469.7 MB, free: 8.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.233, allocations: 6.312 kB / 469.7 MB, free: 8.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005328/0.2335, allocations: 449.9 kB / 470.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2335, allocations: 8.531 kB / 470.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2335, allocations: 9.969 kB / 470.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.2335, allocations: 15.09 kB / 470.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.2339, allocations: 145.5 kB / 470.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.2339, allocations: 19.17 kB / 470.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.2343, allocations: 84.22 kB / 470.4 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.2343, allocations: 27.98 kB / 470.5 MB, free: 8.211 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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.0001533/0.2345, allocations: 162 kB / 470.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.2346, allocations: 71.92 kB / 470.7 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.2349, allocations: 249.4 kB / 470.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2349, allocations: 7.984 kB / 471 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2349, allocations: 1.188 kB / 471 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001444/0.235, allocations: 223.9 kB / 471.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/0.2359, allocations: 0.7883 MB / 472 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2359, allocations: 4.875 kB / 472 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.2361, allocations: 71.14 kB / 472 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2361, allocations: 0.9688 kB / 472 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2361, allocations: 8 kB / 472 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2361, allocations: 4.531 kB / 472 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2361, allocations: 0.875 kB / 472.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2365, allocations: 441.8 kB / 472.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2367, allocations: 117.1 kB / 472.6 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.2367, allocations: 9.344 kB / 472.6 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.237, allocations: 23.92 kB / 472.6 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.2371, allocations: 34.98 kB / 472.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2371, allocations: 16.92 kB / 472.7 MB, free: 6.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.2374, allocations: 358.9 kB / 473 MB, free: 5.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2374, allocations: 1.219 kB / 473 MB, free: 5.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008103/0.2382, allocations: 295.4 kB / 473.3 MB, free: 5.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0002939/0.2385, allocations: 173.7 kB / 473.5 MB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.2388, allocations: 268.5 kB / 473.8 MB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/0.2388, allocations: 12 kB / 473.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.2389, allocations: 86.61 kB / 473.8 MB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.2403, allocations: 0.4893 MB / 474.3 MB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.2422, allocations: 1.495 MB / 475.8 MB, free: 3.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2423, allocations: 189 kB / 476 MB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000458/0.2428, allocations: 153.7 kB / 476.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/0.2434, allocations: 372.3 kB / 476.5 MB, free: 2.352 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2434, allocations: 0 / 476.5 MB, free: 2.352 MB / 410.7 MB Notification: Performance of Templates: time 0.02017/0.2636, allocations: 17.94 MB / 494.5 MB, free: 1.238 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7444712012074888]