Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.661/1.661, allocations: 287.4 MB / 302.6 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 171.5 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007635/0.0007635, allocations: 100.7 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 15.97 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05957/0.2741, allocations: 71.15 MB / 1.048 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.3003, allocations: 17.56 MB / 1.065 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004457/0.3048, allocations: 91.38 kB / 1.065 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.3084, allocations: 0.8733 MB / 1.066 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.5663/0.8746, allocations: 2.819 MB / 1.069 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007444/0.8821, allocations: 1.514 MB / 1.071 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.8988, allocations: 7.618 MB / 1.078 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004712/0.9036, allocations: 1.661 MB / 1.08 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009183/0.9128, allocations: 1.867 MB / 1.081 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006084/0.919, allocations: 1.596 MB / 1.083 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008436/0.9198, allocations: 73.81 kB / 1.083 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005387/0.9252, allocations: 0.895 MB / 1.084 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009506/0.9262, allocations: 387.4 kB / 1.084 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.9287, allocations: 493.5 kB / 1.085 GB, free: 29.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.9345, allocations: 2.669 MB / 1.087 GB, free: 29.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.9346, allocations: 3.562 kB / 1.087 GB, free: 29.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9346, allocations: 5.562 kB / 1.087 GB, free: 29.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000156/0.9348, allocations: 0 / 1.087 GB, free: 29.44 MB / 0.698 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.006333/0.9411, allocations: 2.29 MB / 1.09 GB, free: 28.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/0.9412, allocations: 9.781 kB / 1.09 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004856/0.9417, allocations: 199.8 kB / 1.09 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008705/0.9426, allocations: 270.1 kB / 1.09 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.9464, allocations: 1.943 MB / 1.092 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.9465, allocations: 108.1 kB / 1.092 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.9467, allocations: 141.2 kB / 1.092 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.95, allocations: 1.529 MB / 1.094 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.95, allocations: 8.344 kB / 1.094 GB, free: 27.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.9502, allocations: 57.31 kB / 1.094 GB, free: 27.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.9502, allocations: 41.7 kB / 1.094 GB, free: 27.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.9529, allocations: 1.157 MB / 1.095 GB, free: 27.3 MB / 0.698 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.01028/0.9632, allocations: 7.588 MB / 1.102 GB, free: 23.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.9642, allocations: 496.5 kB / 1.103 GB, free: 23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.9648, allocations: 358.1 kB / 1.103 GB, free: 22.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009586/0.9658, allocations: 1.151 MB / 1.104 GB, free: 21.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.9659, allocations: 45 kB / 1.104 GB, free: 21.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.016e-06/0.9659, allocations: 0 / 1.104 GB, free: 21.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002696/0.9686, allocations: 1.023 MB / 1.105 GB, free: 21.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.9686, allocations: 56 kB / 1.105 GB, free: 21.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.9726, allocations: 1.723 MB / 1.107 GB, free: 21.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.9729, allocations: 42.33 kB / 1.107 GB, free: 21.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.974, allocations: 0.9197 MB / 1.108 GB, free: 20.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.9743, allocations: 222.2 kB / 1.108 GB, free: 20.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.9743, allocations: 22.69 kB / 1.108 GB, free: 20.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.9745, allocations: 349.9 kB / 1.109 GB, free: 20.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.9753, allocations: 350.1 kB / 1.109 GB, free: 20.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.9762, allocations: 0.708 MB / 1.11 GB, free: 19.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.9778, allocations: 1.048 MB / 1.111 GB, free: 19.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.9779, allocations: 3.438 kB / 1.111 GB, free: 19.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002415/0.9803, allocations: 1.247 MB / 1.112 GB, free: 19.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.9803, allocations: 8.75 kB / 1.112 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.9803, allocations: 12.81 kB / 1.112 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/0.9804, allocations: 19.5 kB / 1.112 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.9815, allocations: 321.3 kB / 1.112 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.9815, allocations: 23.86 kB / 1.112 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.9836, allocations: 247.9 kB / 1.112 GB, free: 19.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.9837, allocations: 51.78 kB / 1.112 GB, free: 19.34 MB / 0.698 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.001227/0.9849, allocations: 435.4 kB / 1.113 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.9856, allocations: 196.5 kB / 1.113 GB, free: 19.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.988, allocations: 0.9052 MB / 1.114 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.9881, allocations: 7.312 kB / 1.114 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9881, allocations: 0 / 1.114 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001651/0.9897, allocations: 0.8369 MB / 1.115 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.9965, allocations: 2.476 MB / 1.117 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.9965, allocations: 1.875 kB / 1.117 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.9974, allocations: 208.5 kB / 1.117 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.9975, allocations: 8.578 kB / 1.117 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.9976, allocations: 22.22 kB / 1.117 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.9976, allocations: 5.453 kB / 1.117 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9976, allocations: 2.469 kB / 1.117 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/1.001, allocations: 1.39 MB / 1.119 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.002, allocations: 400 kB / 1.119 GB, free: 17.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007625/1.003, allocations: 24.69 kB / 1.119 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.005, allocations: 125.9 kB / 1.119 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.005, allocations: 53.27 kB / 1.119 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.005, allocations: 37.67 kB / 1.119 GB, free: 17.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003036/1.008, allocations: 1.186 MB / 1.121 GB, free: 17.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.008, allocations: 3.469 kB / 1.121 GB, free: 17.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003523/1.012, allocations: 0.6325 MB / 1.121 GB, free: 17.48 MB / 0.698 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.004967/1.017, allocations: 2.392 MB / 1.124 GB, free: 16.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002161/1.019, allocations: 0.8524 MB / 1.124 GB, free: 16.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.019, allocations: 1.312 kB / 1.124 GB, free: 16.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/1.02, allocations: 374.1 kB / 1.125 GB, free: 16.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008967/1.029, allocations: 1.195 MB / 1.126 GB, free: 16.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03608/1.065, allocations: 11.1 MB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.067, allocations: 1.403 MB / 1.138 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002705/1.069, allocations: 385.5 kB / 1.138 GB, free: 9.984 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.071, allocations: 0.7556 MB / 1.139 GB, free: 9.914 MB / 0.698 GB Notification: Performance of SimCode: time 3.457e-06/1.071, allocations: 0 / 1.139 GB, free: 9.914 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7777/1.849, allocations: 57.26 MB / 1.195 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/1.849, allocations: 235.4 kB / 1.195 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.823/5.672, allocations: 0 / 1.195 GB, free: 7.062 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)