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: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.0024, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001052/0.001052, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002422, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9089/0.9089, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07871/0.9876, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.6081/0.6081, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/0.7161, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 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.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 8.92e-07/8.92e-07, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.318e-05, allocations: 2.312 kB / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0097/0.009713, allocations: 13.36 MB / 417.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02008, allocations: 7.803 MB / 424.9 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.02188, allocations: 87.25 kB / 425 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.02275, allocations: 377.2 kB / 425.3 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.02554, allocations: 1.375 MB / 426.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.02848, allocations: 1.803 MB / 428.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1799/0.2084, allocations: 3.445 MB / 432 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.2099, allocations: 0.8799 MB / 432.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.2125, allocations: 1.743 MB / 434.6 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.2139, allocations: 0.7705 MB / 435.4 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.2141, allocations: 101.2 kB / 435.5 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.215, allocations: 306.9 kB / 435.8 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2152, allocations: 256.4 kB / 436 MB, free: 3.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.2157, allocations: 388.2 kB / 436.4 MB, free: 3.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.2174, allocations: 1.011 MB / 437.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.2174, allocations: 0 / 437.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2174, allocations: 4.625 kB / 437.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.914e-05/0.2174, allocations: 0 / 437.4 MB, free: 3.109 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.003288/0.2207, allocations: 1.77 MB / 439.2 MB, free: 18.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2208, allocations: 12.44 kB / 439.2 MB, free: 18.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.2211, allocations: 164.4 kB / 439.4 MB, free: 18.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2221, allocations: 0.785 MB / 440.1 MB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2221, allocations: 62.5 kB / 440.2 MB, free: 17.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.2222, allocations: 77.53 kB / 440.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.2228, allocations: 0.6935 MB / 441 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2229, allocations: 6.547 kB / 441 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2229, allocations: 29 kB / 441 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.2229, allocations: 23.09 kB / 441 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.2232, allocations: 196.8 kB / 441.2 MB, free: 17.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.225, allocations: 2.226 MB / 443.4 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.2252, allocations: 173 kB / 443.6 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.2253, allocations: 66.86 kB / 443.7 MB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.2254, allocations: 28.38 kB / 443.7 MB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2254, allocations: 36.12 kB / 443.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.2254, allocations: 1.438 kB / 443.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002504/0.2256, allocations: 210 kB / 443.9 MB, free: 16.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2257, allocations: 55.75 kB / 444 MB, free: 16.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2261, allocations: 0.7449 MB / 444.7 MB, free: 16.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.2261, allocations: 43.39 kB / 444.8 MB, free: 16.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2263, allocations: 430.4 kB / 445.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.2263, allocations: 119.7 kB / 445.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2264, allocations: 141.2 kB / 445.5 MB, free: 15.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.2265, allocations: 342.2 kB / 445.8 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2266, allocations: 75 kB / 445.9 MB, free: 15.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.2269, allocations: 0.5119 MB / 446.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.2272, allocations: 0.4906 MB / 446.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2272, allocations: 3.25 kB / 446.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004429/0.2276, allocations: 450 kB / 447.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2277, allocations: 9.25 kB / 447.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.2277, allocations: 8.938 kB / 447.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2277, allocations: 16.11 kB / 447.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2281, allocations: 170.5 kB / 447.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.2281, allocations: 19.56 kB / 447.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.2283, allocations: 74.61 kB / 447.6 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.2284, allocations: 33.97 kB / 447.6 MB, free: 14.5 MB / 426.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.0001416/0.2285, allocations: 164.1 kB / 447.8 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.2286, allocations: 67.09 kB / 447.9 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.2289, allocations: 247.7 kB / 448.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2289, allocations: 4.391 kB / 448.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2289, allocations: 0 / 448.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001295/0.229, allocations: 228.5 kB / 448.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.2297, allocations: 0.7981 MB / 449.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2297, allocations: 4.656 kB / 449.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2299, allocations: 77.12 kB / 449.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.23, allocations: 119.8 kB / 449.3 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.23, allocations: 4.938 kB / 449.3 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.23, allocations: 12.52 kB / 449.3 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.207e-06/0.23, allocations: 7.406 kB / 449.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.23, allocations: 0 / 449.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.2303, allocations: 435.3 kB / 449.8 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.2304, allocations: 10.16 kB / 449.8 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2306, allocations: 18.89 kB / 449.8 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.2306, allocations: 32.94 kB / 449.8 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2306, allocations: 18.17 kB / 449.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002574/0.2309, allocations: 363 kB / 450.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2309, allocations: 3.781 kB / 450.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.2314, allocations: 297.6 kB / 450.5 MB, free: 13.46 MB / 426.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.0002335/0.2317, allocations: 156 kB / 450.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2319, allocations: 284.8 kB / 450.9 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.2319, allocations: 14 kB / 451 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2321, allocations: 119.6 kB / 451.1 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.234, allocations: 3.29 MB / 454.4 MB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.2387, allocations: 1.516 MB / 455.9 MB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2389, allocations: 188.8 kB / 456.1 MB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.2392, allocations: 150.3 kB / 456.2 MB, free: 9.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.24, allocations: 375.3 kB / 456.6 MB, free: 9.199 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.24, allocations: 1.25 kB / 456.6 MB, free: 9.199 MB / 426.7 MB Notification: Performance of Templates: time 0.01998/0.26, allocations: 18.82 MB / 475.4 MB, free: 8.688 MB / 442.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.6780609590932727]