Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_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.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001213/0.001213, allocations: 183.1 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.212/2.212, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001021/0.001021, allocations: 97.98 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.896e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3492, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.307/6.656, allocations: 2.166 GB / 3.378 GB, free: 137.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.656, allocations: 87.89 kB / 3.378 GB, free: 137.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/9.818, allocations: 0.795 GB / 4.173 GB, free: 213.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.813e-06/9.818, allocations: 4 kB / 4.173 GB, free: 213.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001496/9.818, allocations: 36.14 kB / 4.173 GB, free: 213.3 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00552/9.824, allocations: 1.571 MB / 4.175 GB, free: 211.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/9.824, allocations: 8.031 kB / 4.175 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/9.824, allocations: 114.5 kB / 4.175 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/9.827, allocations: 438.1 kB / 4.175 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/9.83, allocations: 1.039 MB / 4.176 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006475/9.831, allocations: 189.9 kB / 4.177 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/9.831, allocations: 68 kB / 4.177 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/9.833, allocations: 0.9325 MB / 4.178 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/9.833, allocations: 0 / 4.178 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/9.833, allocations: 31.98 kB / 4.178 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/9.833, allocations: 30 kB / 4.178 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/9.834, allocations: 0.8122 MB / 4.178 GB, free: 208 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.007157/9.842, allocations: 4.24 MB / 4.183 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/9.842, allocations: 0.5413 MB / 4.183 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/9.843, allocations: 343.7 kB / 4.183 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/9.844, allocations: 0.6409 MB / 4.184 GB, free: 201.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006664/9.844, allocations: 457.7 kB / 4.184 GB, free: 201.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.414e-06/9.844, allocations: 0 / 4.184 GB, free: 201.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001525/9.846, allocations: 0.7047 MB / 4.185 GB, free: 200.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/9.846, allocations: 89.66 kB / 4.185 GB, free: 200.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/9.847, allocations: 0.7218 MB / 4.186 GB, free: 199.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/9.847, allocations: 45.7 kB / 4.186 GB, free: 199.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/9.847, allocations: 428.3 kB / 4.186 GB, free: 199.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/9.848, allocations: 197.1 kB / 4.187 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/9.848, allocations: 12 kB / 4.187 GB, free: 199.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/9.848, allocations: 326 kB / 4.187 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/9.848, allocations: 269 kB / 4.187 GB, free: 198.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/9.849, allocations: 412.7 kB / 4.188 GB, free: 198 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/9.849, allocations: 312.8 kB / 4.188 GB, free: 197.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/9.849, allocations: 0 / 4.188 GB, free: 197.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001302/9.85, allocations: 0.7807 MB / 4.189 GB, free: 196.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/9.851, allocations: 0.7342 MB / 4.189 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/9.851, allocations: 4 kB / 4.189 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/9.851, allocations: 4 kB / 4.189 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/9.852, allocations: 243.7 kB / 4.19 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/9.853, allocations: 1.196 MB / 4.191 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/9.854, allocations: 199.2 kB / 4.191 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/9.854, allocations: 35.98 kB / 4.191 GB, free: 194.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/9.854, allocations: 3.984 kB / 4.191 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/9.855, allocations: 0.6864 MB / 4.192 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/9.855, allocations: 0 / 4.192 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/9.855, allocations: 4 kB / 4.192 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/9.856, allocations: 227.7 kB / 4.192 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/9.856, allocations: 4 kB / 4.192 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/9.857, allocations: 195.2 kB / 4.192 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/9.858, allocations: 39.95 kB / 4.192 GB, free: 193.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0002289/9.858, allocations: 142.2 kB / 4.192 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/9.858, allocations: 98.78 kB / 4.192 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/9.859, allocations: 0.8404 MB / 4.193 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/9.86, allocations: 8 kB / 4.193 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/9.86, allocations: 0 / 4.193 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/9.86, allocations: 3.984 kB / 4.193 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/9.862, allocations: 2.034 MB / 4.195 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/9.862, allocations: 7.953 kB / 4.195 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/9.863, allocations: 220.1 kB / 4.195 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/9.864, allocations: 4 kB / 4.195 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/9.864, allocations: 20.08 kB / 4.195 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/9.864, allocations: 1.192 MB / 4.197 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/9.864, allocations: 11.88 kB / 4.197 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/9.865, allocations: 1.058 MB / 4.198 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/9.866, allocations: 295.6 kB / 4.198 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/9.866, allocations: 16 kB / 4.198 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/9.867, allocations: 163.8 kB / 4.198 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/9.867, allocations: 60.31 kB / 4.198 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/9.867, allocations: 35.97 kB / 4.198 GB, free: 186.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006809/9.868, allocations: 0.5668 MB / 4.199 GB, free: 186.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.62e-07/9.868, allocations: 0 / 4.199 GB, free: 186.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001898/9.87, allocations: 0.632 MB / 4.199 GB, free: 185.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003741/9.874, allocations: 3.947 MB / 4.203 GB, free: 181.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001996/9.876, allocations: 1.205 MB / 4.204 GB, free: 180.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/9.876, allocations: 4 kB / 4.204 GB, free: 180.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/9.876, allocations: 422.2 kB / 4.205 GB, free: 179.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/9.879, allocations: 448.6 kB / 4.205 GB, free: 179.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/9.882, allocations: 1.57 MB / 4.207 GB, free: 177.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/9.882, allocations: 1.072 MB / 4.208 GB, free: 176.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001532/9.884, allocations: 360.3 kB / 4.208 GB, free: 176.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/9.884, allocations: 347.3 kB / 4.208 GB, free: 175.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/9.884, allocations: 4 kB / 4.208 GB, free: 175.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07581/9.96, allocations: 55.47 MB / 4.263 GB, free: 120.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/9.96, allocations: 238.8 kB / 4.263 GB, free: 120.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.952/13.91, allocations: 7.938 kB / 4.263 GB, free: 120.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat