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.001258/0.001258, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001186/0.001186, allocations: 187 kB / 17.34 MB, free: 5.742 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.26/1.26, 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.002025/0.002025, allocations: 295.6 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.8933/0.8933, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.443, allocations: 86.97 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07017/0.5132, allocations: 77.15 MB / 0.8424 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.5387, allocations: 18.89 MB / 0.8608 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.5425, allocations: 115.3 kB / 0.8609 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.5462, allocations: 1.25 MB / 0.8622 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009437/0.5557, allocations: 3.626 MB / 0.8657 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.5606, allocations: 2.094 MB / 0.8678 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008258/0.5689, allocations: 6.691 MB / 0.8743 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/0.5722, allocations: 2.09 MB / 0.8763 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/0.5776, allocations: 2.368 MB / 0.8786 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.5806, allocations: 1.751 MB / 0.8804 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000586/0.5812, allocations: 200 kB / 0.8805 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.5854, allocations: 1.626 MB / 0.8821 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.5863, allocations: 0.5371 MB / 0.8827 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.5886, allocations: 1.244 MB / 0.8839 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.5958, allocations: 3.749 MB / 0.8875 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.5958, allocations: 3.938 kB / 0.8875 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.577e-06/0.5958, allocations: 7.922 kB / 0.8875 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001266/0.5959, allocations: 4 kB / 0.8875 GB, free: 8.125 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.005874/0.6018, allocations: 2.699 MB / 0.8902 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6019, allocations: 12.03 kB / 0.8902 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/0.6029, allocations: 265.9 kB / 0.8904 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.6067, allocations: 2.035 MB / 0.8924 GB, free: 3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.6068, allocations: 106.7 kB / 0.8925 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.607, allocations: 140 kB / 0.8927 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.61, allocations: 1.513 MB / 0.8941 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.6101, allocations: 11.84 kB / 0.8942 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.6102, allocations: 59.98 kB / 0.8942 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.6103, allocations: 40 kB / 0.8943 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.6127, allocations: 1.126 MB / 0.8954 GB, free: 15.93 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.009105/0.6218, allocations: 7.599 MB / 0.9028 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6229, allocations: 484.5 kB / 0.9032 GB, free: 7.273 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.6235, allocations: 334.1 kB / 0.9036 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/0.6244, allocations: 1.156 MB / 0.9047 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6245, allocations: 39.12 kB / 0.9047 GB, free: 5.488 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 3.135e-06/0.6245, allocations: 4 kB / 0.9047 GB, free: 5.484 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002272/0.6268, allocations: 0.9613 MB / 0.9057 GB, free: 4.516 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.6268, allocations: 59.97 kB / 0.9057 GB, free: 4.445 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.6294, allocations: 1.787 MB / 0.9075 GB, free: 2.621 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/0.6295, allocations: 41.7 kB / 0.9075 GB, free: 2.574 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007885/0.6303, allocations: 0.9316 MB / 0.9084 GB, free: 1.633 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.6305, allocations: 217 kB / 0.9086 GB, free: 1.418 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.6309, allocations: 226.6 kB / 0.9088 GB, free: 1.191 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.631, allocations: 357.9 kB / 0.9092 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.6318, allocations: 326.4 kB / 0.9095 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/0.6328, allocations: 0.6899 MB / 0.9102 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.6344, allocations: 1.005 MB / 0.9111 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6345, allocations: 4 kB / 0.9111 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002556/0.637, allocations: 1.217 MB / 0.9123 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.6371, allocations: 12 kB / 0.9123 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.6371, allocations: 8 kB / 0.9124 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.6371, allocations: 20.72 kB / 0.9124 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.6381, allocations: 291.5 kB / 0.9127 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.6382, allocations: 19.94 kB / 0.9127 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6395, allocations: 166.4 kB / 0.9128 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6397, allocations: 55.98 kB / 0.9129 GB, free: 12.75 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.0007792/0.6405, allocations: 441.3 kB / 0.9133 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.641, allocations: 193.7 kB / 0.9135 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.6429, allocations: 0.8684 MB / 0.9143 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.6429, allocations: 8 kB / 0.9143 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6429, allocations: 0 / 0.9143 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.6443, allocations: 0.7995 MB / 0.9151 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.6488, allocations: 2.443 MB / 0.9175 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6489, allocations: 7.969 kB / 0.9175 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.6496, allocations: 179.7 kB / 0.9177 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.6496, allocations: 4 kB / 0.9177 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6497, allocations: 20 kB / 0.9177 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.6497, allocations: 7.984 kB / 0.9177 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6497, allocations: 7.938 kB / 0.9177 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.6521, allocations: 1.336 MB / 0.919 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.6528, allocations: 366.5 kB / 0.9194 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/0.6531, allocations: 15.98 kB / 0.9194 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6542, allocations: 71.75 kB / 0.9195 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6543, allocations: 48.5 kB / 0.9195 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.6544, allocations: 39.97 kB / 0.9196 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001781/0.6562, allocations: 1.235 MB / 0.9208 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6562, allocations: 0 / 0.9208 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001676/0.6578, allocations: 0.6552 MB / 0.9214 GB, free: 3.785 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.001171/0.659, allocations: 0.6048 MB / 0.922 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.6607, allocations: 0.8165 MB / 0.9228 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6607, allocations: 3.938 kB / 0.9228 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006796/0.6614, allocations: 355.4 kB / 0.9231 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/0.6664, allocations: 1.202 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.004834/0.6712, allocations: 3.097 MB / 0.9273 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6724, allocations: 1.392 MB / 0.9287 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.6728, allocations: 159.3 kB / 0.9288 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of SimCode: time 5.11e-07/0.6728, allocations: 0 / 0.9288 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of Templates: time 0.3821/1.055, allocations: 35.35 MB / 0.9634 GB, free: 177.8 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)