Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.37/2.37, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001633, allocations: 172.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 0.7915 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 87.95 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.386e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2881, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.161, allocations: 1.896 GB / 3.115 GB, free: 353.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/6.161, allocations: 84.64 kB / 3.115 GB, free: 353.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.847/10.01, allocations: 1.009 GB / 4.124 GB, free: 220.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.193e-06/10.01, allocations: 0 / 4.124 GB, free: 220.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.017e-05/10.01, allocations: 30.64 kB / 4.124 GB, free: 220.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005762/10.01, allocations: 1.796 MB / 4.126 GB, free: 219.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/10.01, allocations: 11.47 kB / 4.126 GB, free: 219.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/10.01, allocations: 131.2 kB / 4.126 GB, free: 219.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/10.02, allocations: 0.5411 MB / 4.127 GB, free: 219 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/10.02, allocations: 1.076 MB / 4.128 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/10.02, allocations: 202.7 kB / 4.128 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/10.02, allocations: 82.38 kB / 4.128 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/10.02, allocations: 1.14 MB / 4.129 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/10.02, allocations: 0 / 4.129 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/10.02, allocations: 31.81 kB / 4.129 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/10.02, allocations: 54.06 kB / 4.129 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/10.02, allocations: 1.112 MB / 4.13 GB, free: 217 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.006518/10.03, allocations: 4.199 MB / 4.135 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/10.03, allocations: 0.7496 MB / 4.135 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/10.03, allocations: 0.5106 MB / 4.136 GB, free: 213 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/10.03, allocations: 0.6 MB / 4.136 GB, free: 212.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/10.03, allocations: 50.22 kB / 4.136 GB, free: 212.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.068e-06/10.03, allocations: 0 / 4.136 GB, free: 212.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001896/10.04, allocations: 1.029 MB / 4.137 GB, free: 211.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/10.04, allocations: 63.03 kB / 4.138 GB, free: 211.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/10.04, allocations: 0.6985 MB / 4.138 GB, free: 211.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/10.04, allocations: 40.67 kB / 4.138 GB, free: 211.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/10.04, allocations: 452.6 kB / 4.139 GB, free: 211 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/10.04, allocations: 257.7 kB / 4.139 GB, free: 210.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/10.04, allocations: 15.84 kB / 4.139 GB, free: 210.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/10.04, allocations: 334.7 kB / 4.139 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/10.04, allocations: 411.3 kB / 4.14 GB, free: 210.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/10.04, allocations: 0.543 MB / 4.14 GB, free: 209.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/10.04, allocations: 465.3 kB / 4.141 GB, free: 209.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/10.04, allocations: 0 / 4.141 GB, free: 209.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001648/10.04, allocations: 1.102 MB / 4.142 GB, free: 209.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/10.04, allocations: 484.5 kB / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/10.04, allocations: 0 / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/10.04, allocations: 11.42 kB / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/10.04, allocations: 269.6 kB / 4.142 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005171/10.04, allocations: 1.193 MB / 4.144 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/10.04, allocations: 198 kB / 4.144 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/10.04, allocations: 41.31 kB / 4.144 GB, free: 207.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/10.04, allocations: 10.09 kB / 4.144 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/10.05, allocations: 0.9901 MB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/10.05, allocations: 3.969 kB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/10.05, allocations: 3.594 kB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/10.05, allocations: 264.7 kB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/10.05, allocations: 3.938 kB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/10.05, allocations: 199.7 kB / 4.145 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/10.05, allocations: 40.25 kB / 4.145 GB, free: 206.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002481/10.05, allocations: 149.1 kB / 4.145 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/10.05, allocations: 103.2 kB / 4.146 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/10.05, allocations: 1.114 MB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/10.05, allocations: 7.156 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/10.05, allocations: 3.953 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/10.05, allocations: 11.83 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/10.05, allocations: 2.626 MB / 4.149 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/10.05, allocations: 3.531 kB / 4.149 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/10.06, allocations: 263.8 kB / 4.149 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/10.06, allocations: 7.125 kB / 4.149 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/10.06, allocations: 26.56 kB / 4.149 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/10.06, allocations: 1.191 MB / 4.151 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/10.06, allocations: 7.391 kB / 4.151 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/10.06, allocations: 1.391 MB / 4.152 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/10.06, allocations: 317 kB / 4.152 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/10.06, allocations: 17.38 kB / 4.152 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/10.06, allocations: 174.1 kB / 4.152 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/10.06, allocations: 56.69 kB / 4.153 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/10.06, allocations: 37.03 kB / 4.153 GB, free: 201.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006784/10.06, allocations: 0.5612 MB / 4.153 GB, free: 201 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/10.06, allocations: 0 / 4.153 GB, free: 201 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002451/10.06, allocations: 0.7562 MB / 4.154 GB, free: 200.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005514/10.07, allocations: 5.224 MB / 4.159 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003088/10.07, allocations: 1.681 MB / 4.161 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/10.07, allocations: 0 / 4.161 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/10.07, allocations: 0.5317 MB / 4.161 GB, free: 195.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/10.08, allocations: 0.5039 MB / 4.162 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/10.09, allocations: 2.626 MB / 4.164 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/10.09, allocations: 1.114 MB / 4.165 GB, free: 191.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001995/10.09, allocations: 492.7 kB / 4.166 GB, free: 191.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/10.09, allocations: 379.3 kB / 4.166 GB, free: 190.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/10.09, allocations: 4 kB / 4.166 GB, free: 190.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09979/10.19, allocations: 69.95 MB / 4.234 GB, free: 121.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/10.19, allocations: 233.6 kB / 4.235 GB, free: 121.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.635/14.83, allocations: 0 / 4.235 GB, free: 121.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat