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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008186, allocations: 93.02 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008917/0.0008917, allocations: 175.6 kB / 16.58 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6996/0.6996, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 8.219 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2789/0.4068, allocations: 38.28 MB / 0.5967 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.4192, allocations: 9.749 MB / 0.6062 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.4208, allocations: 51.75 kB / 0.6063 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.4221, allocations: 457 kB / 0.6067 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.4261, allocations: 1.476 MB / 0.6082 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.4287, allocations: 0.86 MB / 0.609 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004722/0.4334, allocations: 3.857 MB / 0.6128 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.4346, allocations: 0.7362 MB / 0.6135 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.4364, allocations: 0.9888 MB / 0.6144 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.4375, allocations: 0.803 MB / 0.6152 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.4376, allocations: 38.03 kB / 0.6153 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.4392, allocations: 498.4 kB / 0.6157 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.4395, allocations: 200.2 kB / 0.6159 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.4398, allocations: 256 kB / 0.6162 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.4412, allocations: 1.377 MB / 0.6175 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4412, allocations: 0 / 0.6175 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4412, allocations: 0 / 0.6175 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.4412, allocations: 1.062 kB / 0.6175 GB, free: 3.406 MB / 446.1 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.002012/0.4432, allocations: 1.314 MB / 0.6188 GB, free: 18.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4433, allocations: 10 kB / 0.6188 GB, free: 18.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.4436, allocations: 135.5 kB / 0.6189 GB, free: 18.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.445, allocations: 1.037 MB / 0.62 GB, free: 17.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.4451, allocations: 60.31 kB / 0.62 GB, free: 17.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4452, allocations: 75.06 kB / 0.6201 GB, free: 17.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4464, allocations: 0.8006 MB / 0.6209 GB, free: 17.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.4465, allocations: 7.984 kB / 0.6209 GB, free: 17.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.4465, allocations: 27.75 kB / 0.6209 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.4466, allocations: 22.34 kB / 0.6209 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4476, allocations: 0.5827 MB / 0.6215 GB, free: 16.71 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.4515, allocations: 3.541 MB / 0.6249 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.4521, allocations: 276.7 kB / 0.6252 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.4524, allocations: 190.5 kB / 0.6254 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/0.4529, allocations: 0.6625 MB / 0.626 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.453, allocations: 36.91 kB / 0.6261 GB, free: 12.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.453, allocations: 0 / 0.6261 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001148/0.4541, allocations: 0.5423 MB / 0.6266 GB, free: 12.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4542, allocations: 59.47 kB / 0.6267 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.4554, allocations: 0.9261 MB / 0.6276 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.4554, allocations: 33.27 kB / 0.6276 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.4558, allocations: 499.1 kB / 0.6281 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.456, allocations: 117.4 kB / 0.6282 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.456, allocations: 10.38 kB / 0.6282 GB, free: 11.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4561, allocations: 330.8 kB / 0.6285 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.4565, allocations: 173.3 kB / 0.6287 GB, free: 10.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.457, allocations: 355.2 kB / 0.629 GB, free: 10.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.4574, allocations: 239.6 kB / 0.6292 GB, free: 10.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4575, allocations: 2.031 kB / 0.6292 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001134/0.4586, allocations: 0.63 MB / 0.6299 GB, free: 9.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4586, allocations: 6.719 kB / 0.6299 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.4586, allocations: 8.578 kB / 0.6299 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4587, allocations: 10.03 kB / 0.6299 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.4591, allocations: 136.4 kB / 0.63 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4591, allocations: 7.656 kB / 0.63 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.4599, allocations: 117.8 kB / 0.6301 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.4599, allocations: 25.47 kB / 0.6302 GB, free: 9.859 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003517/0.4603, allocations: 281.8 kB / 0.6304 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4604, allocations: 98.47 kB / 0.6305 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009552/0.4614, allocations: 0.5094 MB / 0.631 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4614, allocations: 3.531 kB / 0.631 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4614, allocations: 0 / 0.631 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006885/0.4621, allocations: 471.1 kB / 0.6315 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.4641, allocations: 1.378 MB / 0.6328 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4641, allocations: 3.25 kB / 0.6328 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.4645, allocations: 84.56 kB / 0.6329 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4645, allocations: 3.125 kB / 0.6329 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4645, allocations: 7.156 kB / 0.6329 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4645, allocations: 3.344 kB / 0.6329 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4645, allocations: 2 kB / 0.6329 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.4658, allocations: 0.7983 MB / 0.6337 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.4661, allocations: 248.7 kB / 0.6339 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4663, allocations: 7.656 kB / 0.6339 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.4668, allocations: 58.41 kB / 0.634 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.4669, allocations: 27.11 kB / 0.634 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.4669, allocations: 20.7 kB / 0.634 GB, free: 7.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008176/0.4678, allocations: 0.6388 MB / 0.6347 GB, free: 6.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4678, allocations: 0 / 0.6347 GB, free: 6.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009799/0.4688, allocations: 335.5 kB / 0.635 GB, free: 6.723 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006395/0.4694, allocations: 356.5 kB / 0.6353 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008097/0.4702, allocations: 439.6 kB / 0.6357 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4702, allocations: 3.281 kB / 0.6357 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.4706, allocations: 200.7 kB / 0.6359 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.4732, allocations: 0.5957 MB / 0.6365 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.4757, allocations: 1.96 MB / 0.6384 GB, free: 4.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.4763, allocations: 1.036 MB / 0.6394 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007445/0.477, allocations: 195.5 kB / 0.6396 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.4772, allocations: 76.92 kB / 0.6397 GB, free: 3.625 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4772, allocations: 2.969 kB / 0.6397 GB, free: 3.625 MB / 462.1 MB Notification: Performance of Templates: time 0.03119/0.5084, allocations: 19.52 MB / 0.6588 GB, free: 0.7969 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)