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.001201/0.001201, allocations: 76.94 kB / 20.73 MB, free: 3.758 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.001389/0.001389, allocations: 173 kB / 24.15 MB, free: 348 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 1.089/1.089, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.6751/0.6751, allocations: 115 MB / 376 MB, free: 7.492 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 2.014e-06/2.014e-06, allocations: 0 / 428.8 MB, free: 2.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.193e-05, allocations: 2.312 kB / 428.8 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01246/0.01249, allocations: 13.31 MB / 442.1 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2454/0.2579, allocations: 6.438 MB / 448.5 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.2601, allocations: 84.47 kB / 448.6 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2614, allocations: 374.4 kB / 449 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.2653, allocations: 1.37 MB / 450.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.2691, allocations: 1.419 MB / 451.7 MB, free: 16.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006593/0.2757, allocations: 3.448 MB / 455.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.2781, allocations: 0.8793 MB / 456.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.2818, allocations: 1.63 MB / 457.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2836, allocations: 0.7796 MB / 458.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.2839, allocations: 100.4 kB / 458.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.2848, allocations: 297.6 kB / 458.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.2851, allocations: 312 kB / 459.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.286, allocations: 458.5 kB / 459.6 MB, free: 14.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2878, allocations: 1.084 MB / 460.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2879, allocations: 0 / 460.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2879, allocations: 0 / 460.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-05/0.2879, allocations: 0.625 kB / 460.7 MB, free: 14.54 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.002184/0.2901, allocations: 1.422 MB / 462.1 MB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2901, allocations: 10.5 kB / 462.1 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.2905, allocations: 170.8 kB / 462.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2916, allocations: 0.7788 MB / 463.1 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.2916, allocations: 62.53 kB / 463.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.2917, allocations: 78.84 kB / 463.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.2923, allocations: 0.6918 MB / 463.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.2923, allocations: 5.719 kB / 463.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.2924, allocations: 30.03 kB / 464 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.2924, allocations: 21.95 kB / 464 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.2927, allocations: 192.1 kB / 464.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.2948, allocations: 2.21 MB / 466.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2951, allocations: 179.7 kB / 466.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.2952, allocations: 70.89 kB / 466.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2953, allocations: 26.45 kB / 466.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2953, allocations: 39.36 kB / 466.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.2953, allocations: 0.625 kB / 466.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003178/0.2956, allocations: 208.5 kB / 466.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.2956, allocations: 54.41 kB / 466.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.2961, allocations: 0.7481 MB / 467.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2962, allocations: 38.77 kB / 467.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2963, allocations: 430.2 kB / 468.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.2964, allocations: 119.6 kB / 468.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2965, allocations: 144.8 kB / 468.4 MB, free: 9.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.2965, allocations: 335.1 kB / 468.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.2967, allocations: 69.33 kB / 468.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2969, allocations: 0.514 MB / 469.3 MB, free: 9.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.2973, allocations: 482.4 kB / 469.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2973, allocations: 4.375 kB / 469.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004787/0.2978, allocations: 443.2 kB / 470.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2978, allocations: 12.8 kB / 470.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2978, allocations: 11.94 kB / 470.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2978, allocations: 12.5 kB / 470.3 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.2981, allocations: 156.3 kB / 470.4 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2981, allocations: 19.67 kB / 470.4 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2985, allocations: 89.05 kB / 470.5 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2985, allocations: 35.98 kB / 470.5 MB, free: 8.305 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.0001489/0.2986, allocations: 156.4 kB / 470.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.2987, allocations: 67.86 kB / 470.8 MB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.299, allocations: 246.8 kB / 471 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.299, allocations: 4 kB / 471 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.299, allocations: 3.984 kB / 471 MB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001229/0.2991, allocations: 227 kB / 471.2 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.2999, allocations: 0.7846 MB / 472 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2999, allocations: 4.812 kB / 472 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3001, allocations: 77.44 kB / 472.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3001, allocations: 4 kB / 472.1 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3002, allocations: 8.812 kB / 472.1 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3002, allocations: 7.172 kB / 472.1 MB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3002, allocations: 4.656 kB / 472.1 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3005, allocations: 437.5 kB / 472.6 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3006, allocations: 118.3 kB / 472.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.3007, allocations: 9.734 kB / 472.7 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3009, allocations: 21.67 kB / 472.7 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.301, allocations: 34.06 kB / 472.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.301, allocations: 15.98 kB / 472.7 MB, free: 6.117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.3012, allocations: 359.3 kB / 473.1 MB, free: 5.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3012, allocations: 0 / 473.1 MB, free: 5.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.3019, allocations: 291.4 kB / 473.4 MB, free: 5.508 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.0002677/0.3021, allocations: 170.8 kB / 473.6 MB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.3024, allocations: 272.8 kB / 473.8 MB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.3025, allocations: 12.44 kB / 473.8 MB, free: 5.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.3026, allocations: 99.52 kB / 473.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3036, allocations: 498.8 kB / 474.4 MB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3054, allocations: 1.489 MB / 475.9 MB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3055, allocations: 190.7 kB / 476.1 MB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.3059, allocations: 152.8 kB / 476.2 MB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.3065, allocations: 376.2 kB / 476.6 MB, free: 2.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3065, allocations: 0 / 476.6 MB, free: 2.438 MB / 410.7 MB Notification: Performance of Templates: time 0.02527/0.3318, allocations: 17.94 MB / 494.5 MB, free: 1.332 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.267570565920323]