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.001109/0.001109, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001008/0.001008, allocations: 165.3 kB / 23.8 MB, free: 0.7734 MB / 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.9597/0.9597, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.64/0.64, allocations: 115 MB / 375.7 MB, free: 7.609 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.373e-06/1.373e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.655e-05, allocations: 2.312 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01024/0.01027, allocations: 13.41 MB / 494.9 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.01924, allocations: 6.349 MB / 0.4895 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.02151, allocations: 87.69 kB / 0.4896 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.02265, allocations: 368.3 kB / 0.49 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.02593, allocations: 1.37 MB / 0.4913 GB, free: 13.58 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.02914, allocations: 1.434 MB / 0.4927 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.03397, allocations: 3.447 MB / 0.4961 GB, free: 11.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.03549, allocations: 0.8521 MB / 0.4969 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.03894, allocations: 1.553 MB / 0.4984 GB, free: 9.867 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.04063, allocations: 0.8208 MB / 0.4992 GB, free: 9.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.04089, allocations: 104.8 kB / 0.4993 GB, free: 9.254 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.04206, allocations: 313 kB / 0.4996 GB, free: 8.984 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.04239, allocations: 313.1 kB / 0.4999 GB, free: 8.723 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.04316, allocations: 465.7 kB / 0.5003 GB, free: 8.297 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.04562, allocations: 1.111 MB / 0.5014 GB, free: 7.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.04563, allocations: 0 / 0.5014 GB, free: 7.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04563, allocations: 2.688 kB / 0.5014 GB, free: 7.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.165e-05/0.04569, allocations: 0 / 0.5014 GB, free: 7.348 MB / 426.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.003174/0.04887, allocations: 1.576 MB / 0.503 GB, free: 5.871 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.04892, allocations: 12.03 kB / 0.503 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/0.04947, allocations: 221.3 kB / 0.5032 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.05148, allocations: 1.123 MB / 0.5043 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.05152, allocations: 58 kB / 0.5044 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.05162, allocations: 80.97 kB / 0.5044 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.05267, allocations: 0.7452 MB / 0.5052 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.05269, allocations: 1.109 kB / 0.5052 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.05274, allocations: 28.69 kB / 0.5052 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.05279, allocations: 24.59 kB / 0.5052 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.05332, allocations: 253.8 kB / 0.5054 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.05693, allocations: 2.997 MB / 0.5084 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.05724, allocations: 147 kB / 0.5085 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.05735, allocations: 77.19 kB / 0.5086 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.05749, allocations: 31.92 kB / 0.5086 GB, free: 492 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.05752, allocations: 41.38 kB / 0.5087 GB, free: 440 kB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.05752, allocations: 0.625 kB / 0.5087 GB, free: 440 kB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005727/0.05809, allocations: 302.8 kB / 0.5089 GB, free: 132 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.05813, allocations: 59.39 kB / 0.509 GB, free: 60 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.059, allocations: 0.8241 MB / 0.5098 GB, free: 15.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.05904, allocations: 37.7 kB / 0.5098 GB, free: 15.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.05938, allocations: 0.5853 MB / 0.5104 GB, free: 14.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.05947, allocations: 115.6 kB / 0.5105 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.05962, allocations: 152.2 kB / 0.5107 GB, free: 14.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/0.05993, allocations: 0.5062 MB / 0.5112 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.06006, allocations: 73.94 kB / 0.5112 GB, free: 13.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.06044, allocations: 0.6353 MB / 0.5119 GB, free: 12.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.06095, allocations: 0.5825 MB / 0.5124 GB, free: 12.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.06096, allocations: 4.062 kB / 0.5124 GB, free: 12.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006763/0.06163, allocations: 0.5598 MB / 0.513 GB, free: 11.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.06166, allocations: 10.66 kB / 0.513 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.06167, allocations: 12 kB / 0.513 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.06169, allocations: 12 kB / 0.513 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.062, allocations: 147.8 kB / 0.5132 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.06201, allocations: 23.92 kB / 0.5132 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.06234, allocations: 75.88 kB / 0.5132 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.06238, allocations: 36 kB / 0.5133 GB, free: 11.25 MB / 442.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.0002058/0.06259, allocations: 212.2 kB / 0.5135 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.06269, allocations: 107.3 kB / 0.5136 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.06312, allocations: 309.7 kB / 0.5139 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.06313, allocations: 7.984 kB / 0.5139 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.06313, allocations: 0 / 0.5139 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005358/0.06367, allocations: 279.5 kB / 0.5142 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.06479, allocations: 1.08 MB / 0.5152 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.0648, allocations: 0 / 0.5152 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.06496, allocations: 71.91 kB / 0.5153 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.06497, allocations: 3.984 kB / 0.5153 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.06499, allocations: 11.98 kB / 0.5153 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.06499, allocations: 7.938 kB / 0.5153 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.06499, allocations: 4 kB / 0.5153 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.0655, allocations: 0.5474 MB / 0.5158 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.06569, allocations: 139.2 kB / 0.516 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.06574, allocations: 8 kB / 0.516 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.06595, allocations: 31.86 kB / 0.516 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.066, allocations: 23.95 kB / 0.516 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.06603, allocations: 19.98 kB / 0.5161 GB, free: 8.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004322/0.06646, allocations: 0.5049 MB / 0.5165 GB, free: 7.754 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.06646, allocations: 0 / 0.5165 GB, free: 7.754 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000696/0.06716, allocations: 303.3 kB / 0.5168 GB, free: 7.457 MB / 442.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.0003122/0.06747, allocations: 191 kB / 0.517 GB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.06789, allocations: 299.7 kB / 0.5173 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.06789, allocations: 0 / 0.5173 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.06802, allocations: 111.5 kB / 0.5174 GB, free: 6.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.06921, allocations: 0.4915 MB / 0.5179 GB, free: 6.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.07134, allocations: 1.531 MB / 0.5194 GB, free: 4.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.07148, allocations: 195.4 kB / 0.5196 GB, free: 4.586 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.07193, allocations: 174.9 kB / 0.5197 GB, free: 4.418 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.07205, allocations: 76.48 kB / 0.5198 GB, free: 4.344 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/0.07205, allocations: 0 / 0.5198 GB, free: 4.344 MB / 442.7 MB Notification: Performance of Templates: time 0.022/0.09405, allocations: 16.59 MB / 0.536 GB, free: 4.211 MB / 458.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.948672811035067]