Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001067/0.001067, allocations: 107.8 kB / 16.41 MB, free: 5.996 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.001001/0.001001, allocations: 191 kB / 17.35 MB, free: 5.605 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 282 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 99.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3641, allocations: 86.98 MB / 0.7671 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03922/0.4034, allocations: 41.56 MB / 0.8076 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.4176, allocations: 10.4 MB / 0.8178 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.4192, allocations: 59.62 kB / 0.8179 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.4209, allocations: 0.6365 MB / 0.8185 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.4256, allocations: 1.881 MB / 0.8203 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.4284, allocations: 1.188 MB / 0.8215 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.4327, allocations: 3.405 MB / 0.8248 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.4342, allocations: 1.056 MB / 0.8258 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.437, allocations: 1.27 MB / 0.8271 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.4384, allocations: 0.8828 MB / 0.8279 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.4386, allocations: 100 kB / 0.828 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.4405, allocations: 0.8617 MB / 0.8289 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.4409, allocations: 283 kB / 0.8291 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008113/0.4417, allocations: 0.6299 MB / 0.8298 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.4444, allocations: 1.93 MB / 0.8316 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4444, allocations: 7.938 kB / 0.8317 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4444, allocations: 0 / 0.8317 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.786e-05/0.4444, allocations: 0 / 0.8317 GB, free: 1.316 MB / 0.5919 GB 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.002612/0.447, allocations: 1.519 MB / 0.8331 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4471, allocations: 8.031 kB / 0.8331 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.4475, allocations: 135.4 kB / 0.8333 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.4493, allocations: 1.1 MB / 0.8343 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.4493, allocations: 58 kB / 0.8344 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.4494, allocations: 75.91 kB / 0.8345 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4508, allocations: 0.7866 MB / 0.8352 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4508, allocations: 0 / 0.8352 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.4509, allocations: 28 kB / 0.8353 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.4509, allocations: 20 kB / 0.8353 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.452, allocations: 0.575 MB / 0.8358 GB, free: 12.88 MB / 0.6075 GB 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.003677/0.4557, allocations: 3.544 MB / 0.8393 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.4563, allocations: 267.3 kB / 0.8396 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.4566, allocations: 181.2 kB / 0.8397 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.4571, allocations: 0.6492 MB / 0.8404 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4572, allocations: 50.53 kB / 0.8404 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.4572, allocations: 0 / 0.8404 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001151/0.4583, allocations: 0.51 MB / 0.8409 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4584, allocations: 55.41 kB / 0.841 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4595, allocations: 0.9534 MB / 0.8419 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.4595, allocations: 29.7 kB / 0.8419 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.4599, allocations: 0.4956 MB / 0.8424 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.46, allocations: 110.4 kB / 0.8425 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4601, allocations: 118 kB / 0.8426 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4603, allocations: 329.9 kB / 0.8429 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4606, allocations: 165 kB / 0.8431 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.4611, allocations: 353.3 kB / 0.8434 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.4619, allocations: 0.5039 MB / 0.8439 GB, free: 4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.462, allocations: 0 / 0.8439 GB, free: 4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001101/0.4631, allocations: 0.6137 MB / 0.8445 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4631, allocations: 8.094 kB / 0.8445 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4631, allocations: 11.98 kB / 0.8446 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4631, allocations: 8 kB / 0.8446 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.4636, allocations: 119.8 kB / 0.8447 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.4636, allocations: 15.98 kB / 0.8447 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.4642, allocations: 87.25 kB / 0.8448 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.4642, allocations: 27.94 kB / 0.8448 GB, free: 3.105 MB / 0.6075 GB 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.0003187/0.4645, allocations: 281.8 kB / 0.8451 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.4647, allocations: 102.8 kB / 0.8452 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/0.4657, allocations: 492.1 kB / 0.8456 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007217/0.4664, allocations: 453.5 kB / 0.8461 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4664, allocations: 0 / 0.8461 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.4667, allocations: 223.8 kB / 0.8463 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4668, allocations: 11.94 kB / 0.8463 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.4673, allocations: 23.97 kB / 0.8463 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4674, allocations: 24.25 kB / 0.8463 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001025/0.4684, allocations: 0.5117 MB / 0.8468 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.4697, allocations: 0.8188 MB / 0.8476 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003525/0.4701, allocations: 183.8 kB / 0.8478 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007983/0.4709, allocations: 0.6547 MB / 0.8485 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of Backend: time 4.91e-07/0.4709, allocations: 4 kB / 0.8485 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.4726, allocations: 0.683 MB / 0.8491 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004147/0.4768, allocations: 2.46 MB / 0.8515 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.03304/0.5098, allocations: 21.5 MB / 0.8725 GB, free: 6.887 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)