Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001097/0.001097, allocations: 180.6 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.3 MB / 0.7871 GB, free: 13 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.0009785/0.0009786, allocations: 102 kB / 0.9267 GB, free: 14.07 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.706e-05/4.759e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3446, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.239, allocations: 1.896 GB / 3.108 GB, free: 352.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/6.239, allocations: 84.23 kB / 3.108 GB, free: 352.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.597/9.836, allocations: 1.009 GB / 4.117 GB, free: 213 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.206e-06/9.836, allocations: 3.984 kB / 4.117 GB, free: 213 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001649/9.836, allocations: 32.11 kB / 4.117 GB, free: 213 MB / 1.151 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.00682/9.843, allocations: 1.792 MB / 4.119 GB, free: 211.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/9.843, allocations: 10.98 kB / 4.119 GB, free: 211.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004065/9.844, allocations: 134.4 kB / 4.119 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/9.847, allocations: 0.5421 MB / 4.12 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/9.85, allocations: 1.072 MB / 4.121 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006258/9.851, allocations: 199.9 kB / 4.121 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/9.851, allocations: 87.53 kB / 4.121 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/9.853, allocations: 1.142 MB / 4.122 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/9.853, allocations: 0 / 4.122 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/9.853, allocations: 30.16 kB / 4.122 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/9.854, allocations: 44.58 kB / 4.122 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/9.855, allocations: 1.115 MB / 4.123 GB, free: 209.5 MB / 1.151 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.007827/9.863, allocations: 4.212 MB / 4.127 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/9.865, allocations: 0.7538 MB / 4.128 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/9.865, allocations: 0.5082 MB / 4.129 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009324/9.866, allocations: 0.6106 MB / 4.129 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/9.866, allocations: 37.12 kB / 4.129 GB, free: 204.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.055e-06/9.866, allocations: 0 / 4.129 GB, free: 204.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002129/9.868, allocations: 1.025 MB / 4.13 GB, free: 204.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/9.868, allocations: 67.33 kB / 4.13 GB, free: 204.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/9.869, allocations: 0.696 MB / 4.131 GB, free: 203.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/9.87, allocations: 43.77 kB / 4.131 GB, free: 203.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/9.87, allocations: 442.7 kB / 4.131 GB, free: 203.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/9.87, allocations: 264.7 kB / 4.132 GB, free: 203.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/9.87, allocations: 15.25 kB / 4.132 GB, free: 203.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/9.87, allocations: 333.6 kB / 4.132 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/9.871, allocations: 408.5 kB / 4.132 GB, free: 202.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/9.872, allocations: 0.5479 MB / 4.133 GB, free: 202.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/9.872, allocations: 467.3 kB / 4.133 GB, free: 202.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/9.872, allocations: 0 / 4.133 GB, free: 202.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001729/9.874, allocations: 1.102 MB / 4.135 GB, free: 201.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/9.874, allocations: 484 kB / 4.135 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/9.874, allocations: 0 / 4.135 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/9.874, allocations: 7.5 kB / 4.135 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/9.876, allocations: 286.7 kB / 4.135 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005312/9.876, allocations: 1.189 MB / 4.136 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/9.878, allocations: 204.9 kB / 4.137 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/9.878, allocations: 41.34 kB / 4.137 GB, free: 199.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/9.878, allocations: 3.562 kB / 4.137 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/9.879, allocations: 0.9914 MB / 4.138 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/9.879, allocations: 1.938 kB / 4.138 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/9.879, allocations: 6.812 kB / 4.138 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/9.881, allocations: 256.3 kB / 4.138 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/9.881, allocations: 6.922 kB / 4.138 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/9.882, allocations: 201.3 kB / 4.138 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/9.882, allocations: 43.97 kB / 4.138 GB, free: 199.1 MB / 1.151 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.0002539/9.882, allocations: 147.5 kB / 4.138 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/9.883, allocations: 101.6 kB / 4.138 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/9.884, allocations: 1.112 MB / 4.139 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/9.884, allocations: 13.34 kB / 4.139 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/9.884, allocations: 2.594 kB / 4.139 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/9.884, allocations: 7.938 kB / 4.139 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/9.889, allocations: 2.61 MB / 4.142 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/9.889, allocations: 0 / 4.142 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/9.89, allocations: 260.1 kB / 4.142 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/9.89, allocations: 15.33 kB / 4.142 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/9.89, allocations: 30.12 kB / 4.142 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/9.89, allocations: 1.184 MB / 4.143 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/9.891, allocations: 9.531 kB / 4.143 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/9.892, allocations: 1.396 MB / 4.145 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/9.893, allocations: 316.9 kB / 4.145 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/9.893, allocations: 18.88 kB / 4.145 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/9.894, allocations: 171.3 kB / 4.145 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/9.895, allocations: 57.19 kB / 4.145 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/9.895, allocations: 44.22 kB / 4.145 GB, free: 193.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000755/9.895, allocations: 0.5474 MB / 4.146 GB, free: 193.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/9.895, allocations: 3.938 kB / 4.146 GB, free: 193.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002638/9.898, allocations: 0.7671 MB / 4.147 GB, free: 193 MB / 1.151 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.005536/9.904, allocations: 5.219 MB / 4.152 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002653/9.906, allocations: 1.677 MB / 4.153 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/9.906, allocations: 0 / 4.153 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/9.907, allocations: 0.5402 MB / 4.154 GB, free: 185.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/9.91, allocations: 0.4989 MB / 4.154 GB, free: 185.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/9.923, allocations: 2.619 MB / 4.157 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/9.924, allocations: 1.116 MB / 4.158 GB, free: 181.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002159/9.926, allocations: 480.8 kB / 4.159 GB, free: 181.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/9.927, allocations: 391.2 kB / 4.159 GB, free: 180.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/9.927, allocations: 0 / 4.159 GB, free: 180.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/10.02, allocations: 69.95 MB / 4.227 GB, free: 111.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/10.02, allocations: 226.5 kB / 4.227 GB, free: 111.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.599/14.62, allocations: 0 / 4.227 GB, free: 111.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat