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.001256/0.001256, allocations: 108.5 kB / 16.41 MB, free: 6.516 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.001249/0.001249, allocations: 184 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002627/0.002627, allocations: 294.3 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 1.012/1.012, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4452, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0838/0.529, allocations: 77.27 MB / 0.8425 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02805/0.5571, allocations: 18.91 MB / 0.861 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.5604, allocations: 115.3 kB / 0.8611 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.5637, allocations: 1.297 MB / 0.8624 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.5742, allocations: 3.812 MB / 0.8661 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005554/0.5797, allocations: 2.096 MB / 0.8681 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009679/0.5894, allocations: 6.694 MB / 0.8747 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.5922, allocations: 1.704 MB / 0.8763 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.5976, allocations: 2.378 MB / 0.8787 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.6006, allocations: 1.75 MB / 0.8804 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.601, allocations: 204 kB / 0.8806 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.6049, allocations: 1.626 MB / 0.8821 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.6055, allocations: 0.564 MB / 0.8827 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.6073, allocations: 1.248 MB / 0.8839 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.6136, allocations: 3.766 MB / 0.8876 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6136, allocations: 0 / 0.8876 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6136, allocations: 0 / 0.8876 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.6137, allocations: 0 / 0.8876 GB, free: 8.051 MB / 0.6544 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.004681/0.6183, allocations: 2.792 MB / 0.8903 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6184, allocations: 12.03 kB / 0.8903 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007066/0.6191, allocations: 283.3 kB / 0.8906 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.6225, allocations: 2.035 MB / 0.8926 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.6226, allocations: 106.7 kB / 0.8927 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.6228, allocations: 140 kB / 0.8928 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.6257, allocations: 1.528 MB / 0.8943 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.6257, allocations: 0 / 0.8943 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6258, allocations: 56 kB / 0.8944 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.6259, allocations: 43.94 kB / 0.8944 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.6282, allocations: 1.13 MB / 0.8955 GB, free: 15.74 MB / 0.67 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.00927/0.6375, allocations: 7.624 MB / 0.903 GB, free: 7.539 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6385, allocations: 445.2 kB / 0.9034 GB, free: 7.098 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.6392, allocations: 311.1 kB / 0.9037 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.6402, allocations: 1.156 MB / 0.9048 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6402, allocations: 39.12 kB / 0.9049 GB, free: 5.332 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/0.6402, allocations: 0 / 0.9049 GB, free: 5.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002399/0.6426, allocations: 0.9778 MB / 0.9058 GB, free: 4.348 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.6427, allocations: 59.97 kB / 0.9059 GB, free: 4.277 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.6451, allocations: 1.783 MB / 0.9076 GB, free: 2.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.6452, allocations: 45.7 kB / 0.9077 GB, free: 2.406 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.646, allocations: 0.9373 MB / 0.9086 GB, free: 1.461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.6462, allocations: 246 kB / 0.9088 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.6465, allocations: 226.8 kB / 0.909 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6467, allocations: 349.9 kB / 0.9094 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007112/0.6474, allocations: 326.4 kB / 0.9097 GB, free: 332 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.6485, allocations: 0.686 MB / 0.9103 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.6503, allocations: 1.016 MB / 0.9113 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6503, allocations: 4 kB / 0.9113 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002421/0.6527, allocations: 1.219 MB / 0.9125 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6527, allocations: 12 kB / 0.9125 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6527, allocations: 8 kB / 0.9125 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.6528, allocations: 16 kB / 0.9126 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6539, allocations: 292.1 kB / 0.9128 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/0.6539, allocations: 23.92 kB / 0.9129 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6551, allocations: 162.9 kB / 0.913 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.6552, allocations: 52 kB / 0.9131 GB, free: 12.55 MB / 0.6856 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.0007162/0.6559, allocations: 445.3 kB / 0.9135 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.6562, allocations: 198.7 kB / 0.9137 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.658, allocations: 0.8719 MB / 0.9145 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.6581, allocations: 8 kB / 0.9145 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6581, allocations: 0 / 0.9145 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.6595, allocations: 0.8034 MB / 0.9153 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.6636, allocations: 2.439 MB / 0.9177 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.6637, allocations: 3.938 kB / 0.9177 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/0.6645, allocations: 184 kB / 0.9179 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6645, allocations: 8 kB / 0.9179 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.6646, allocations: 23.92 kB / 0.9179 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.6646, allocations: 4 kB / 0.9179 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6646, allocations: 4 kB / 0.9179 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.6671, allocations: 1.349 MB / 0.9192 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/0.6677, allocations: 379.5 kB / 0.9196 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.6679, allocations: 16 kB / 0.9196 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/0.6689, allocations: 63.86 kB / 0.9197 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.669, allocations: 52.58 kB / 0.9197 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.6691, allocations: 35.97 kB / 0.9198 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001769/0.6709, allocations: 1.239 MB / 0.921 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.6709, allocations: 0 / 0.921 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001723/0.6726, allocations: 0.6625 MB / 0.9216 GB, free: 3.562 MB / 0.6856 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.00117/0.6737, allocations: 0.6121 MB / 0.9222 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.6755, allocations: 0.7843 MB / 0.923 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6755, allocations: 0 / 0.923 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007749/0.6763, allocations: 340.4 kB / 0.9233 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/0.6813, allocations: 1.191 MB / 0.9245 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.6861, allocations: 3.122 MB / 0.9275 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.6873, allocations: 1.413 MB / 0.9289 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001338/0.6886, allocations: 386.3 kB / 0.9293 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.6889, allocations: 143.4 kB / 0.9294 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.6889, allocations: 4 kB / 0.9294 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of Templates: time 0.4109/1.1, allocations: 42.15 MB / 0.9706 GB, free: 168.3 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)