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.0009023/0.0009023, allocations: 97.36 kB / 15.69 MB, free: 480 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.0009398/0.0009398, allocations: 178.4 kB / 16.57 MB, free: 6.398 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.34/1.34, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6572/0.6572, allocations: 113.8 MB / 405.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 8 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2807/0.411, allocations: 34.77 MB / 0.5908 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.424, allocations: 8.954 MB / 0.5995 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.4259, allocations: 52.91 kB / 0.5996 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.428, allocations: 0.611 MB / 0.6002 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.4347, allocations: 1.826 MB / 0.602 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.4392, allocations: 1.352 MB / 0.6033 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.4438, allocations: 1.969 MB / 0.6052 GB, free: 9.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.4454, allocations: 0.7447 MB / 0.6059 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.4478, allocations: 0.8805 MB / 0.6068 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.449, allocations: 0.5465 MB / 0.6073 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.4491, allocations: 38.06 kB / 0.6074 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4513, allocations: 0.5472 MB / 0.6079 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.4516, allocations: 193.8 kB / 0.6081 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.452, allocations: 257.3 kB / 0.6083 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.4537, allocations: 1.364 MB / 0.6097 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4537, allocations: 0 / 0.6097 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4537, allocations: 1.281 kB / 0.6097 GB, free: 8.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4538, allocations: 0 / 0.6097 GB, free: 8.383 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.002281/0.4561, allocations: 1.312 MB / 0.6109 GB, free: 23.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4561, allocations: 9.375 kB / 0.611 GB, free: 23.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.4564, allocations: 135.6 kB / 0.6111 GB, free: 23.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.4579, allocations: 0.9774 MB / 0.612 GB, free: 22.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.458, allocations: 59.41 kB / 0.6121 GB, free: 22.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4581, allocations: 75.22 kB / 0.6122 GB, free: 22.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4594, allocations: 0.7888 MB / 0.6129 GB, free: 22.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4594, allocations: 1.094 kB / 0.6129 GB, free: 22.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.4595, allocations: 31.62 kB / 0.613 GB, free: 22.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.4595, allocations: 26.73 kB / 0.613 GB, free: 22.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4607, allocations: 0.5836 MB / 0.6136 GB, free: 22.22 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.003811/0.4645, allocations: 3.578 MB / 0.6171 GB, free: 19.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.4651, allocations: 282.2 kB / 0.6173 GB, free: 19.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.4654, allocations: 0.6532 MB / 0.618 GB, free: 18.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4655, allocations: 38.16 kB / 0.618 GB, free: 18.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.4655, allocations: 1.531 kB / 0.618 GB, free: 18.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001198/0.4667, allocations: 0.5451 MB / 0.6185 GB, free: 18.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4667, allocations: 56.56 kB / 0.6186 GB, free: 18.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.468, allocations: 0.9646 MB / 0.6195 GB, free: 17.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.468, allocations: 32.61 kB / 0.6196 GB, free: 17.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.4684, allocations: 0.4995 MB / 0.6201 GB, free: 17.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4685, allocations: 116 kB / 0.6202 GB, free: 17.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.4685, allocations: 15.09 kB / 0.6202 GB, free: 17.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4686, allocations: 325.9 kB / 0.6205 GB, free: 17.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.469, allocations: 169.5 kB / 0.6206 GB, free: 16.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.4694, allocations: 353.3 kB / 0.621 GB, free: 16.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.4699, allocations: 239.8 kB / 0.6212 GB, free: 16.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4699, allocations: 1.469 kB / 0.6212 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001127/0.471, allocations: 0.6334 MB / 0.6218 GB, free: 16.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4711, allocations: 8.094 kB / 0.6218 GB, free: 16.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4711, allocations: 4.531 kB / 0.6218 GB, free: 16.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4711, allocations: 13.61 kB / 0.6219 GB, free: 16.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.4716, allocations: 134.2 kB / 0.622 GB, free: 16.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4716, allocations: 11.91 kB / 0.622 GB, free: 16.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/0.4725, allocations: 121 kB / 0.6221 GB, free: 16.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.4726, allocations: 28.97 kB / 0.6221 GB, free: 16.07 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.0004438/0.473, allocations: 277 kB / 0.6224 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4732, allocations: 100.1 kB / 0.6225 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/0.4742, allocations: 0.4932 MB / 0.623 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.4742, allocations: 8.453 kB / 0.623 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4742, allocations: 0 / 0.623 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006681/0.4749, allocations: 476.4 kB / 0.6234 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.4771, allocations: 1.401 MB / 0.6248 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4771, allocations: 1.406 kB / 0.6248 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.4774, allocations: 80.7 kB / 0.6249 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.4775, allocations: 3 kB / 0.6249 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.4775, allocations: 8.875 kB / 0.6249 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4775, allocations: 6.375 kB / 0.6249 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4775, allocations: 2.562 kB / 0.6249 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.4789, allocations: 0.8544 MB / 0.6257 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.4794, allocations: 255.6 kB / 0.626 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4796, allocations: 15.58 kB / 0.626 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.4802, allocations: 55.48 kB / 0.6261 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.4803, allocations: 27.64 kB / 0.6261 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.4803, allocations: 20.83 kB / 0.6261 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009929/0.4813, allocations: 0.6721 MB / 0.6268 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4813, allocations: 1.219 kB / 0.6268 GB, free: 12.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001192/0.4825, allocations: 340.4 kB / 0.6271 GB, free: 12.82 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.0007354/0.4833, allocations: 400.6 kB / 0.6275 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.4842, allocations: 433.3 kB / 0.6279 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4842, allocations: 3.75 kB / 0.6279 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.4846, allocations: 204.7 kB / 0.6281 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.4873, allocations: 0.5835 MB / 0.6286 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.49, allocations: 1.962 MB / 0.6306 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.4906, allocations: 1.056 MB / 0.6316 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001017/0.4916, allocations: 199.7 kB / 0.6318 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4918, allocations: 79.45 kB / 0.6319 GB, free: 9.711 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4918, allocations: 0 / 0.6319 GB, free: 9.711 MB / 462.1 MB Notification: Performance of Templates: time 0.03195/0.5238, allocations: 20.17 MB / 0.6516 GB, free: 8.293 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)