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.001258/0.001258, allocations: 101.2 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8271/0.8271, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 0.4958 GB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 78.86 MB / 0.5728 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03517/0.3998, allocations: 41.62 MB / 0.6134 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.4163, allocations: 10.38 MB / 0.6236 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.4186, allocations: 59.62 kB / 0.6236 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.4205, allocations: 0.6443 MB / 0.6242 GB, free: 1.191 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005156/0.4257, allocations: 1.88 MB / 0.6261 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.4287, allocations: 1.179 MB / 0.6272 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004704/0.4334, allocations: 3.394 MB / 0.6305 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.435, allocations: 1.063 MB / 0.6316 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.4386, allocations: 1.392 MB / 0.6329 GB, free: 8.258 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.44, allocations: 0.8672 MB / 0.6338 GB, free: 7.387 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.4402, allocations: 100 kB / 0.6339 GB, free: 7.289 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.4423, allocations: 0.8462 MB / 0.6347 GB, free: 6.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.4426, allocations: 275 kB / 0.635 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007931/0.4434, allocations: 0.6415 MB / 0.6356 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.4463, allocations: 1.909 MB / 0.6375 GB, free: 3.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4463, allocations: 0 / 0.6375 GB, free: 3.613 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4463, allocations: 4 kB / 0.6375 GB, free: 3.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.43e-05/0.4464, allocations: 0 / 0.6375 GB, free: 3.609 MB / 478.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.003465/0.4498, allocations: 1.499 MB / 0.6389 GB, free: 2.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4499, allocations: 12.03 kB / 0.6389 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.4503, allocations: 143.4 kB / 0.6391 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4521, allocations: 1.044 MB / 0.6401 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.4521, allocations: 54 kB / 0.6401 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.4523, allocations: 75.98 kB / 0.6402 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.4537, allocations: 0.7984 MB / 0.641 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.4537, allocations: 3.938 kB / 0.641 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.4538, allocations: 28 kB / 0.641 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.4538, allocations: 16 kB / 0.641 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.455, allocations: 0.5789 MB / 0.6416 GB, free: 15.23 MB / 494.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.004736/0.4597, allocations: 3.718 MB / 0.6452 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.4604, allocations: 270.3 kB / 0.6455 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.4608, allocations: 176.8 kB / 0.6457 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.4614, allocations: 0.657 MB / 0.6463 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4614, allocations: 42.5 kB / 0.6463 GB, free: 9.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.826e-06/0.4614, allocations: 4 kB / 0.6464 GB, free: 9.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001321/0.4628, allocations: 0.5085 MB / 0.6468 GB, free: 9.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4628, allocations: 55.41 kB / 0.6469 GB, free: 9.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4641, allocations: 0.9532 MB / 0.6478 GB, free: 8.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.4642, allocations: 33.7 kB / 0.6479 GB, free: 8.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.4647, allocations: 495.7 kB / 0.6483 GB, free: 7.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4648, allocations: 118.4 kB / 0.6484 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.465, allocations: 122 kB / 0.6486 GB, free: 7.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4652, allocations: 322 kB / 0.6489 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.4656, allocations: 161 kB / 0.649 GB, free: 7.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.4661, allocations: 354.9 kB / 0.6494 GB, free: 6.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.467, allocations: 0.5108 MB / 0.6499 GB, free: 6.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.467, allocations: 0 / 0.6499 GB, free: 6.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001336/0.4684, allocations: 0.6136 MB / 0.6505 GB, free: 5.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4684, allocations: 8 kB / 0.6505 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4684, allocations: 15.98 kB / 0.6505 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4685, allocations: 8 kB / 0.6505 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.4689, allocations: 119.8 kB / 0.6506 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.4689, allocations: 8 kB / 0.6506 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.4696, allocations: 87.12 kB / 0.6507 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.4697, allocations: 31.92 kB / 0.6507 GB, free: 5.234 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.4701, allocations: 278.3 kB / 0.651 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4703, allocations: 98.78 kB / 0.6511 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4713, allocations: 478.6 kB / 0.6515 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4713, allocations: 4 kB / 0.6515 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4713, allocations: 8.062 kB / 0.6516 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008037/0.4721, allocations: 461.1 kB / 0.652 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.4744, allocations: 1.362 MB / 0.6533 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4744, allocations: 0 / 0.6533 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.4748, allocations: 75.89 kB / 0.6534 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.4748, allocations: 7.938 kB / 0.6534 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.4748, allocations: 8 kB / 0.6534 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.4748, allocations: 8.156 kB / 0.6534 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4748, allocations: 7.922 kB / 0.6534 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.4762, allocations: 0.7593 MB / 0.6542 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.4766, allocations: 227.8 kB / 0.6544 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4767, allocations: 11.94 kB / 0.6544 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.4772, allocations: 23.97 kB / 0.6544 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.4773, allocations: 35.95 kB / 0.6545 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.4773, allocations: 19.98 kB / 0.6545 GB, free: 1.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009164/0.4783, allocations: 0.6666 MB / 0.6551 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4783, allocations: 0 / 0.6551 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4793, allocations: 335.5 kB / 0.6554 GB, free: 236 kB / 494.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 (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.000827/0.4802, allocations: 394.4 kB / 0.6558 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.4812, allocations: 448.4 kB / 0.6562 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4812, allocations: 8.438 kB / 0.6563 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.4816, allocations: 187.7 kB / 0.6564 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.4844, allocations: 0.6157 MB / 0.657 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.487, allocations: 1.606 MB / 0.6586 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.4877, allocations: 1.04 MB / 0.6596 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008339/0.4886, allocations: 198.9 kB / 0.6598 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4888, allocations: 83.41 kB / 0.6599 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.4888, allocations: 0 / 0.6599 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.03926/0.5281, allocations: 21.24 MB / 0.6806 GB, free: 6.676 MB / 0.5137 GB 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)