Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007502/0.0007502, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005047/0.005047, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 274.3 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9726/0.9726, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004039, allocations: 14.27 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06934/0.2272, allocations: 75.27 MB / 0.7586 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3541/0.5813, allocations: 18.76 MB / 0.7769 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.5852, allocations: 94.72 kB / 0.777 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.5887, allocations: 1.033 MB / 0.778 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.601, allocations: 3.366 MB / 0.7813 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006553/0.6076, allocations: 1.911 MB / 0.7832 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01677/0.6244, allocations: 8.892 MB / 0.7919 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004656/0.6291, allocations: 1.687 MB / 0.7935 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007395/0.6365, allocations: 1.879 MB / 0.7954 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.6423, allocations: 1.711 MB / 0.797 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009983/0.6434, allocations: 73.75 kB / 0.7971 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006638/0.65, allocations: 1.44 MB / 0.7985 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.6513, allocations: 421.5 kB / 0.7989 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.6554, allocations: 1.115 MB / 0.8 GB, free: 20.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008199/0.6636, allocations: 3.566 MB / 0.8035 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6636, allocations: 0 / 0.8035 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6636, allocations: 1.188 kB / 0.8035 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.2e-05/0.6637, allocations: 0 / 0.8035 GB, free: 20.43 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004366/0.6681, allocations: 2.298 MB / 0.8057 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6681, allocations: 8.25 kB / 0.8057 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.6688, allocations: 271.4 kB / 0.806 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.6721, allocations: 1.978 MB / 0.8079 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.6722, allocations: 105.3 kB / 0.808 GB, free: 17.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.6724, allocations: 147.2 kB / 0.8082 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.6752, allocations: 1.54 MB / 0.8097 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.6753, allocations: 6.594 kB / 0.8097 GB, free: 16.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.6754, allocations: 58.28 kB / 0.8097 GB, free: 16.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.6755, allocations: 39.12 kB / 0.8098 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.6776, allocations: 1.17 MB / 0.8109 GB, free: 15.82 MB / 0.5606 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.009548/0.6871, allocations: 7.596 MB / 0.8183 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.6881, allocations: 0.4891 MB / 0.8188 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.6888, allocations: 354.3 kB / 0.8191 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009961/0.6898, allocations: 1.156 MB / 0.8203 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.6899, allocations: 41.88 kB / 0.8203 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.826e-06/0.6899, allocations: 4 kB / 0.8203 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002409/0.6923, allocations: 1.024 MB / 0.8213 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6923, allocations: 62.06 kB / 0.8214 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.6947, allocations: 1.754 MB / 0.8231 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.6948, allocations: 40.27 kB / 0.8231 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009381/0.6958, allocations: 0.9297 MB / 0.824 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.6961, allocations: 226.6 kB / 0.8243 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.6962, allocations: 90.67 kB / 0.8243 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6964, allocations: 353.9 kB / 0.8247 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.6971, allocations: 351.5 kB / 0.825 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6982, allocations: 0.7091 MB / 0.8257 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.6998, allocations: 1.055 MB / 0.8267 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.6998, allocations: 2.625 kB / 0.8267 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002451/0.7023, allocations: 1.258 MB / 0.828 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7023, allocations: 9.938 kB / 0.828 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.7023, allocations: 11.38 kB / 0.828 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.7024, allocations: 15 kB / 0.828 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.7034, allocations: 319.3 kB / 0.8283 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/0.7034, allocations: 22.97 kB / 0.8283 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7053, allocations: 256.2 kB / 0.8286 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.7054, allocations: 49.28 kB / 0.8286 GB, free: 1.898 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0009176/0.7063, allocations: 442.1 kB / 0.829 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.7066, allocations: 192.4 kB / 0.8292 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.7084, allocations: 0.905 MB / 0.8301 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.7085, allocations: 10.59 kB / 0.8301 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.7085, allocations: 3.984 kB / 0.8301 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.7099, allocations: 0.8418 MB / 0.8309 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.7149, allocations: 2.477 MB / 0.8334 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.7149, allocations: 3.25 kB / 0.8334 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007933/0.7157, allocations: 218.6 kB / 0.8336 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.7157, allocations: 3.344 kB / 0.8336 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.7158, allocations: 18.47 kB / 0.8336 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.7158, allocations: 15.14 kB / 0.8336 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7158, allocations: 0 / 0.8336 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.7184, allocations: 1.399 MB / 0.835 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7195, allocations: 411.3 kB / 0.8354 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.7197, allocations: 11.34 kB / 0.8354 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.7208, allocations: 126.1 kB / 0.8355 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.721, allocations: 53.5 kB / 0.8356 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.721, allocations: 35.81 kB / 0.8356 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001847/0.7229, allocations: 1.216 MB / 0.8368 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7229, allocations: 0 / 0.8368 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001937/0.7248, allocations: 0.6352 MB / 0.8374 GB, free: 12.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001038/0.7259, allocations: 0.5965 MB / 0.838 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7276, allocations: 0.8528 MB / 0.8388 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7276, allocations: 0 / 0.8388 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.7284, allocations: 380.4 kB / 0.8392 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/0.7344, allocations: 1.202 MB / 0.8403 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.7394, allocations: 3.833 MB / 0.8441 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/0.7403, allocations: 1.409 MB / 0.8455 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001414/0.7418, allocations: 380.7 kB / 0.8458 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.7421, allocations: 143.4 kB / 0.846 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.7421, allocations: 0 / 0.846 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.06449/0.8066, allocations: 40.14 MB / 0.8852 GB, free: 12.89 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)