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.0008037/0.0008037, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008784/0.0008785, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 274.1 kB / 291.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 13.06 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06361/0.1981, allocations: 71.12 MB / 0.7539 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3016/0.4997, allocations: 17.72 MB / 0.7712 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.5024, allocations: 97.06 kB / 0.7713 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.5045, allocations: 0.8779 MB / 0.7722 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006763/0.5113, allocations: 2.837 MB / 0.775 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.5153, allocations: 1.489 MB / 0.7764 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008258/0.5236, allocations: 7.6 MB / 0.7838 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.5256, allocations: 1.447 MB / 0.7852 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.5289, allocations: 1.858 MB / 0.7871 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.5311, allocations: 1.599 MB / 0.7886 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.5314, allocations: 74.44 kB / 0.7887 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.5343, allocations: 0.8941 MB / 0.7896 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.5348, allocations: 390.3 kB / 0.7899 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009897/0.5358, allocations: 493.4 kB / 0.7904 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.5388, allocations: 2.669 MB / 0.793 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5388, allocations: 0 / 0.793 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5389, allocations: 1.094 kB / 0.793 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.384e-05/0.5389, allocations: 0 / 0.793 GB, free: 25.07 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.003739/0.5427, allocations: 2.321 MB / 0.7953 GB, free: 23.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5427, allocations: 9.312 kB / 0.7953 GB, free: 23.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.5433, allocations: 269.9 kB / 0.7955 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.5462, allocations: 1.898 MB / 0.7974 GB, free: 23.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.5463, allocations: 106.8 kB / 0.7975 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.5465, allocations: 144.7 kB / 0.7976 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.549, allocations: 1.537 MB / 0.7991 GB, free: 23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.549, allocations: 6.031 kB / 0.7991 GB, free: 22.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5491, allocations: 58.69 kB / 0.7992 GB, free: 22.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.5492, allocations: 37.44 kB / 0.7992 GB, free: 22.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.5513, allocations: 1.158 MB / 0.8004 GB, free: 22.95 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.007592/0.5589, allocations: 7.592 MB / 0.8078 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5599, allocations: 0.4892 MB / 0.8083 GB, free: 17.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.5606, allocations: 352.9 kB / 0.8086 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009171/0.5616, allocations: 1.153 MB / 0.8097 GB, free: 16.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5616, allocations: 42.84 kB / 0.8098 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.537e-06/0.5616, allocations: 4 kB / 0.8098 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002079/0.5637, allocations: 1.024 MB / 0.8108 GB, free: 16.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5638, allocations: 61.25 kB / 0.8108 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5657, allocations: 1.739 MB / 0.8125 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.5657, allocations: 44.42 kB / 0.8126 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.5663, allocations: 0.9222 MB / 0.8135 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.5665, allocations: 218.8 kB / 0.8137 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.5665, allocations: 21.53 kB / 0.8137 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5666, allocations: 347.2 kB / 0.814 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.5672, allocations: 343.1 kB / 0.8144 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.568, allocations: 0.7097 MB / 0.8151 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.5687, allocations: 467.8 kB / 0.8155 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.5687, allocations: 2.969 kB / 0.8155 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00185/0.5706, allocations: 1.258 MB / 0.8167 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5706, allocations: 9.75 kB / 0.8167 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5706, allocations: 10.66 kB / 0.8167 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5706, allocations: 19.98 kB / 0.8168 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.5716, allocations: 312.4 kB / 0.8171 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.5716, allocations: 28.39 kB / 0.8171 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5731, allocations: 243.4 kB / 0.8173 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.5731, allocations: 54.62 kB / 0.8174 GB, free: 13.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006233/0.5738, allocations: 440.1 kB / 0.8178 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.574, allocations: 195.4 kB / 0.818 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.5755, allocations: 0.9044 MB / 0.8189 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.5755, allocations: 6.688 kB / 0.8189 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5755, allocations: 4 kB / 0.8189 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.5767, allocations: 0.8393 MB / 0.8197 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.5801, allocations: 2.479 MB / 0.8221 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5801, allocations: 0 / 0.8221 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.5808, allocations: 207.7 kB / 0.8223 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5808, allocations: 10.38 kB / 0.8223 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.5809, allocations: 16.09 kB / 0.8223 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5809, allocations: 11.2 kB / 0.8223 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5809, allocations: 2.594 kB / 0.8224 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.5828, allocations: 1.396 MB / 0.8237 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/0.5834, allocations: 406.4 kB / 0.8241 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.5836, allocations: 16.59 kB / 0.8241 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5847, allocations: 125.3 kB / 0.8242 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.5848, allocations: 59.77 kB / 0.8243 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.5848, allocations: 33.59 kB / 0.8243 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001352/0.5862, allocations: 1.204 MB / 0.8255 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5862, allocations: 0 / 0.8255 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00153/0.5877, allocations: 0.6316 MB / 0.8261 GB, free: 10.42 MB / 0.5606 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 (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.0008216/0.5886, allocations: 0.557 MB / 0.8267 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.5899, allocations: 0.8497 MB / 0.8275 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.59, allocations: 1.812 kB / 0.8275 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.5906, allocations: 380.3 kB / 0.8279 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/0.5952, allocations: 1.2 MB / 0.829 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.5994, allocations: 3.694 MB / 0.8326 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/0.6003, allocations: 1.411 MB / 0.834 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001431/0.6017, allocations: 380.2 kB / 0.8344 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.602, allocations: 147.2 kB / 0.8345 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.602, allocations: 0 / 0.8345 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of Templates: time 0.05945/0.6615, allocations: 38.62 MB / 0.8722 GB, free: 0.8867 MB / 0.5919 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)