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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8145/0.8145, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 185.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 107.7 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 280.1 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 83.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3742, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06399/0.4382, allocations: 76.63 MB / 0.8427 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.466, allocations: 18.91 MB / 0.8612 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005148/0.4712, allocations: 99.31 kB / 0.8613 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.4756, allocations: 1.03 MB / 0.8623 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.4865, allocations: 3.358 MB / 0.8656 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006065/0.4926, allocations: 1.916 MB / 0.8675 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.5051, allocations: 8.892 MB / 0.8762 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003487/0.5087, allocations: 1.721 MB / 0.8778 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005134/0.5138, allocations: 1.972 MB / 0.8798 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003925/0.5178, allocations: 1.769 MB / 0.8815 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.5184, allocations: 100 kB / 0.8816 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.5229, allocations: 1.457 MB / 0.883 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008133/0.5237, allocations: 454 kB / 0.8834 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.5266, allocations: 1.139 MB / 0.8846 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.5337, allocations: 3.649 MB / 0.8881 GB, free: 176 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5337, allocations: 0 / 0.8881 GB, free: 176 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5338, allocations: 0 / 0.8881 GB, free: 176 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001369/0.5339, allocations: 0 / 0.8881 GB, free: 176 kB / 0.5417 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.006766/0.5407, allocations: 2.699 MB / 0.8908 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5407, allocations: 15.97 kB / 0.8908 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.5417, allocations: 266 kB / 0.891 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.5455, allocations: 1.945 MB / 0.8929 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.5456, allocations: 110.7 kB / 0.893 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.5458, allocations: 144 kB / 0.8932 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.5485, allocations: 1.524 MB / 0.8947 GB, free: 9.281 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.5485, allocations: 7.844 kB / 0.8947 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5486, allocations: 60 kB / 0.8947 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.5487, allocations: 36 kB / 0.8947 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.5509, allocations: 1.126 MB / 0.8958 GB, free: 8.047 MB / 0.5573 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.3351/0.886, allocations: 7.557 MB / 0.9032 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.8873, allocations: 478.9 kB / 0.9037 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/0.888, allocations: 338.2 kB / 0.904 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/0.8886, allocations: 1.149 MB / 0.9051 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8887, allocations: 42.97 kB / 0.9052 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=59): time 4.107e-06/0.8887, allocations: 3.844 kB / 0.9052 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59): time 0.002658/0.8913, allocations: 0.9603 MB / 0.9061 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.8914, allocations: 58.59 kB / 0.9062 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.8941, allocations: 1.741 MB / 0.9079 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.8942, allocations: 44.14 kB / 0.9079 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.895, allocations: 0.9259 MB / 0.9088 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.8952, allocations: 219.5 kB / 0.909 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.8956, allocations: 227.5 kB / 0.9092 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.8957, allocations: 352.6 kB / 0.9096 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.8965, allocations: 331.9 kB / 0.9099 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.8976, allocations: 0.6879 MB / 0.9106 GB, free: 124 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.8994, allocations: 1.016 MB / 0.9116 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.8994, allocations: 3.875 kB / 0.9116 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00346/0.9028, allocations: 1.212 MB / 0.9127 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.9029, allocations: 9.031 kB / 0.9128 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.903, allocations: 9.969 kB / 0.9128 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.078e-05/0.903, allocations: 15.78 kB / 0.9128 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.9042, allocations: 293.6 kB / 0.9131 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/0.9042, allocations: 21.8 kB / 0.9131 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.9061, allocations: 237.2 kB / 0.9133 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/0.9062, allocations: 53.03 kB / 0.9134 GB, free: 122.7 MB / 0.5573 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.0008996/0.9071, allocations: 439.7 kB / 0.9138 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.9075, allocations: 191.9 kB / 0.914 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.9094, allocations: 0.8618 MB / 0.9148 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.9095, allocations: 14.67 kB / 0.9148 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9095, allocations: 0 / 0.9148 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/0.9111, allocations: 0.7933 MB / 0.9156 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.9164, allocations: 2.428 MB / 0.918 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.9164, allocations: 5.453 kB / 0.918 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/0.9173, allocations: 177.3 kB / 0.9181 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.9174, allocations: 4.562 kB / 0.9181 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.9174, allocations: 22.8 kB / 0.9182 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.9174, allocations: 4.594 kB / 0.9182 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9175, allocations: 2.188 kB / 0.9182 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.9276, allocations: 6.139 MB / 0.9242 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.9282, allocations: 364.4 kB / 0.9245 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.9283, allocations: 19.8 kB / 0.9245 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.9294, allocations: 125 kB / 0.9246 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9295, allocations: 52.19 kB / 0.9247 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.9296, allocations: 35.75 kB / 0.9247 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001484/0.9311, allocations: 1.207 MB / 0.9259 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9311, allocations: 0 / 0.9259 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003295/0.9344, allocations: 0.8947 MB / 0.9268 GB, free: 115.5 MB / 0.5573 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.001206/0.9356, allocations: 0.591 MB / 0.9274 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.9375, allocations: 0.8065 MB / 0.9281 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.9375, allocations: 3.594 kB / 0.9282 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.9382, allocations: 358.5 kB / 0.9285 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005892/0.9441, allocations: 1.206 MB / 0.9297 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.9492, allocations: 4.143 MB / 0.9337 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.9499, allocations: 1.413 MB / 0.9351 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001735/0.9516, allocations: 387 kB / 0.9355 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.9519, allocations: 151.3 kB / 0.9356 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.342e-06/0.9519, allocations: 0 / 0.9356 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.05881/1.011, allocations: 41.8 MB / 0.9764 GB, free: 67.09 MB / 0.5573 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)