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.001392/0.001392, allocations: 105.8 kB / 16.41 MB, free: 6.41 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.001291/0.001291, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 276.5 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.8983/0.8983, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4149, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06918/0.4842, allocations: 77.15 MB / 0.8424 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.5098, allocations: 18.89 MB / 0.8608 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.5138, allocations: 111.3 kB / 0.861 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.5175, allocations: 1.246 MB / 0.8622 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.5279, allocations: 3.629 MB / 0.8657 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.5336, allocations: 2.09 MB / 0.8678 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009201/0.5428, allocations: 6.686 MB / 0.8743 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003771/0.5466, allocations: 2.094 MB / 0.8763 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.5526, allocations: 2.369 MB / 0.8786 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.5561, allocations: 1.754 MB / 0.8804 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000876/0.557, allocations: 200 kB / 0.8805 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.5615, allocations: 1.618 MB / 0.8821 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.5626, allocations: 0.5371 MB / 0.8826 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.5653, allocations: 1.252 MB / 0.8839 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007101/0.5724, allocations: 3.745 MB / 0.8875 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5725, allocations: 0 / 0.8875 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5725, allocations: 0 / 0.8875 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001049/0.5726, allocations: 0 / 0.8875 GB, free: 8.133 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.005573/0.5782, allocations: 2.715 MB / 0.8902 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5782, allocations: 8.031 kB / 0.8902 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.5791, allocations: 269.9 kB / 0.8904 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.5828, allocations: 2.038 MB / 0.8924 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.5829, allocations: 106.7 kB / 0.8925 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.5832, allocations: 140 kB / 0.8927 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.5862, allocations: 1.516 MB / 0.8942 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.5862, allocations: 11.84 kB / 0.8942 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.5864, allocations: 63.98 kB / 0.8942 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.5865, allocations: 36 kB / 0.8943 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5888, allocations: 1.126 MB / 0.8954 GB, free: 15.91 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.009103/0.5979, allocations: 7.599 MB / 0.9028 GB, free: 7.734 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.5989, allocations: 475.5 kB / 0.9032 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.5996, allocations: 342.1 kB / 0.9036 GB, free: 6.934 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008858/0.6005, allocations: 1.152 MB / 0.9047 GB, free: 5.523 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.6006, allocations: 47.12 kB / 0.9047 GB, free: 5.469 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/0.6006, allocations: 0 / 0.9047 GB, free: 5.469 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002382/0.603, allocations: 0.9652 MB / 0.9057 GB, free: 4.496 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.603, allocations: 55.97 kB / 0.9057 GB, free: 4.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.6057, allocations: 1.783 MB / 0.9075 GB, free: 2.609 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.6058, allocations: 49.64 kB / 0.9075 GB, free: 2.555 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008093/0.6067, allocations: 0.9316 MB / 0.9084 GB, free: 1.613 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.6069, allocations: 213 kB / 0.9086 GB, free: 1.402 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.6073, allocations: 230.6 kB / 0.9088 GB, free: 1.172 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6074, allocations: 353.9 kB / 0.9092 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.6081, allocations: 326.4 kB / 0.9095 GB, free: 0.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6091, allocations: 0.69 MB / 0.9102 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.6108, allocations: 1.008 MB / 0.9112 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.6108, allocations: 4 kB / 0.9112 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002529/0.6133, allocations: 1.218 MB / 0.9123 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.6134, allocations: 8 kB / 0.9124 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.6134, allocations: 12 kB / 0.9124 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.6134, allocations: 19.98 kB / 0.9124 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6144, allocations: 283.6 kB / 0.9127 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/0.6145, allocations: 23.88 kB / 0.9127 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.6159, allocations: 166.5 kB / 0.9128 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/0.616, allocations: 51.98 kB / 0.9129 GB, free: 12.73 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.0007659/0.6168, allocations: 441.3 kB / 0.9133 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.6173, allocations: 193.6 kB / 0.9135 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.6192, allocations: 0.8604 MB / 0.9143 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6192, allocations: 8 kB / 0.9143 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6193, allocations: 4 kB / 0.9143 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.6206, allocations: 0.7955 MB / 0.9151 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/0.6253, allocations: 2.455 MB / 0.9175 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6253, allocations: 7.938 kB / 0.9175 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.6261, allocations: 180 kB / 0.9177 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.6262, allocations: 4 kB / 0.9177 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.6262, allocations: 16 kB / 0.9177 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.6262, allocations: 4 kB / 0.9177 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6262, allocations: 4 kB / 0.9177 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.6289, allocations: 1.344 MB / 0.919 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/0.6297, allocations: 358.5 kB / 0.9194 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/0.6301, allocations: 20 kB / 0.9194 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.6312, allocations: 71.75 kB / 0.9195 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6314, allocations: 52.44 kB / 0.9195 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.6314, allocations: 35.97 kB / 0.9196 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002141/0.6336, allocations: 1.235 MB / 0.9208 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6336, allocations: 4 kB / 0.9208 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001974/0.6356, allocations: 0.6552 MB / 0.9214 GB, free: 3.781 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.001397/0.637, allocations: 0.6045 MB / 0.922 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.6388, allocations: 0.8196 MB / 0.9228 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6388, allocations: 0 / 0.9228 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.6396, allocations: 352.3 kB / 0.9231 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/0.6453, allocations: 1.201 MB / 0.9243 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/0.6509, allocations: 3.085 MB / 0.9273 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.6521, allocations: 1.388 MB / 0.9287 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/0.6526, allocations: 163.4 kB / 0.9288 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of SimCode: time 2.394e-06/0.6527, allocations: 0 / 0.9288 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of Templates: time 0.3852/1.038, allocations: 35.08 MB / 0.9631 GB, free: 177.6 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)