Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001135/0.001135, allocations: 181.8 kB / 371.8 MB, free: 10.26 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.493/1.493, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009994/0.0009994, allocations: 93.09 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 20.5 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.129, allocations: 413.3 MB / 1.383 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.129, allocations: 98.2 kB / 1.383 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.208/4.338, allocations: 0.7961 GB / 2.179 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/4.338, allocations: 1.938 kB / 2.179 GB, free: 141.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003134/4.338, allocations: 60.8 kB / 2.179 GB, free: 141.4 MB / 0.948 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.007185/4.345, allocations: 2.572 MB / 2.182 GB, free: 140.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/4.345, allocations: 7.688 kB / 2.182 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006344/4.346, allocations: 204.4 kB / 2.182 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/4.347, allocations: 263.7 kB / 2.182 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05077/4.398, allocations: 24.34 MB / 2.206 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/4.398, allocations: 104.3 kB / 2.206 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/4.399, allocations: 146.1 kB / 2.206 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/4.402, allocations: 1.477 MB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/4.402, allocations: 6.625 kB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/4.402, allocations: 60.48 kB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/4.402, allocations: 43.2 kB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/4.405, allocations: 1.112 MB / 2.209 GB, free: 139.1 MB / 0.948 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.009092/4.414, allocations: 7.562 MB / 2.216 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/4.415, allocations: 0.5088 MB / 2.217 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/4.415, allocations: 1.162 MB / 2.218 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/4.415, allocations: 45.89 kB / 2.218 GB, free: 133.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.955e-06/4.415, allocations: 0 / 2.218 GB, free: 133.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002269/4.418, allocations: 1.037 MB / 2.219 GB, free: 133.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/4.418, allocations: 55.84 kB / 2.219 GB, free: 133.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/4.42, allocations: 1.539 MB / 2.221 GB, free: 133.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/4.42, allocations: 43.77 kB / 2.221 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/4.421, allocations: 0.9378 MB / 2.222 GB, free: 132.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/4.421, allocations: 207.6 kB / 2.222 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/4.421, allocations: 17.41 kB / 2.222 GB, free: 132.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/4.421, allocations: 346.3 kB / 2.222 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/4.422, allocations: 301.2 kB / 2.222 GB, free: 132.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/4.422, allocations: 0.6801 MB / 2.223 GB, free: 132 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/4.423, allocations: 426.1 kB / 2.223 GB, free: 132 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/4.423, allocations: 5.75 kB / 2.223 GB, free: 132 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001993/4.425, allocations: 1.126 MB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/4.425, allocations: 11.47 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/4.425, allocations: 10.56 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/4.425, allocations: 21.58 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/4.426, allocations: 227 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/4.426, allocations: 21.58 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/4.428, allocations: 239.2 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/4.428, allocations: 55.62 kB / 2.225 GB, free: 131.8 MB / 0.948 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 (111): * Single equations (assignments): 111 * 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.0008868/4.429, allocations: 435.6 kB / 2.226 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/4.429, allocations: 191 kB / 2.226 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/4.431, allocations: 0.9339 MB / 2.227 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/4.431, allocations: 7.797 kB / 2.227 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/4.431, allocations: 7.531 kB / 2.227 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/4.432, allocations: 0.8506 MB / 2.227 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/4.437, allocations: 2.503 MB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/4.437, allocations: 6.25 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/4.437, allocations: 178.4 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/4.437, allocations: 3.938 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/4.437, allocations: 14.03 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/4.437, allocations: 10.23 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/4.437, allocations: 6.562 kB / 2.23 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/4.44, allocations: 1.588 MB / 2.232 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/4.441, allocations: 400.5 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/4.441, allocations: 16.72 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/4.442, allocations: 127.1 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/4.442, allocations: 59.81 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/4.442, allocations: 34.3 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001618/4.444, allocations: 1.219 MB / 2.233 GB, free: 129.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/4.444, allocations: 0 / 2.233 GB, free: 129.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002286/4.446, allocations: 0.6932 MB / 2.234 GB, free: 129.8 MB / 0.948 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.003926/4.45, allocations: 3.486 MB / 2.238 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001496/4.452, allocations: 0.7867 MB / 2.238 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/4.452, allocations: 3.938 kB / 2.238 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/4.452, allocations: 391.7 kB / 2.239 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/4.458, allocations: 1.25 MB / 2.24 GB, free: 128.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/4.481, allocations: 17.7 MB / 2.257 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/4.482, allocations: 1.441 MB / 2.259 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002006/4.484, allocations: 388.2 kB / 2.259 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/4.485, allocations: 0.7539 MB / 2.26 GB, free: 116.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/4.485, allocations: 0 / 2.26 GB, free: 116.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0958/4.581, allocations: 63.18 MB / 2.321 GB, free: 112.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/4.581, allocations: 236.6 kB / 2.322 GB, free: 112.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/8.519, allocations: 0 / 2.322 GB, free: 112.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)