Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7808, allocations: 142.3 MB / 0.9538 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2378/1.019, allocations: 195.2 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01066/1.029, allocations: 6.631 MB / 1.151 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/1.031, allocations: 35.75 kB / 1.151 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.033, allocations: 0.4928 MB / 1.151 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005689/1.038, allocations: 1.803 MB / 1.153 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/1.041, allocations: 0.9025 MB / 1.154 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004497/1.046, allocations: 3.202 MB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/1.047, allocations: 0.7921 MB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/1.052, allocations: 1.525 MB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/1.053, allocations: 0.8637 MB / 1.16 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.053, allocations: 48 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/1.057, allocations: 1.54 MB / 1.162 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/1.058, allocations: 342.8 kB / 1.162 GB, free: 10.33 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000426/1.058, allocations: 269.1 kB / 1.162 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/1.06, allocations: 1.711 MB / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.06, allocations: 4 kB / 1.164 GB, free: 8.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.818e-06/1.06, allocations: 0 / 1.164 GB, free: 8.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.06, allocations: 3.938 kB / 1.164 GB, free: 8.336 MB / 0.92 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.003805/1.064, allocations: 1.618 MB / 1.166 GB, free: 6.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.064, allocations: 8.031 kB / 1.166 GB, free: 6.652 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/1.064, allocations: 131.1 kB / 1.166 GB, free: 6.516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/1.067, allocations: 0.5838 MB / 1.166 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/1.069, allocations: 0.9308 MB / 1.167 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/1.069, allocations: 193.9 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.07, allocations: 83.98 kB / 1.168 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.072, allocations: 1.276 MB / 1.169 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.072, allocations: 3.953 kB / 1.169 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.072, allocations: 28 kB / 1.169 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/1.072, allocations: 53.92 kB / 1.169 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/1.076, allocations: 1.604 MB / 1.17 GB, free: 1.711 MB / 0.92 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.006975/1.083, allocations: 4.073 MB / 1.174 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/1.085, allocations: 1.053 MB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.087, allocations: 0.6925 MB / 1.176 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/1.088, allocations: 0.636 MB / 1.177 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/1.088, allocations: 43.16 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.736e-06/1.088, allocations: 4 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004635/1.093, allocations: 1.914 MB / 1.179 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/1.093, allocations: 60.06 kB / 1.179 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.094, allocations: 0.8154 MB / 1.18 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.094, allocations: 45.7 kB / 1.18 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/1.094, allocations: 440.5 kB / 1.18 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/1.095, allocations: 256.2 kB / 1.18 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/1.095, allocations: 16 kB / 1.18 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.095, allocations: 337.9 kB / 1.181 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.096, allocations: 0.5563 MB / 1.181 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.098, allocations: 0.6863 MB / 1.182 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.099, allocations: 0.61 MB / 1.182 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.099, allocations: 0 / 1.182 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003128/1.102, allocations: 1.415 MB / 1.184 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.102, allocations: 148 kB / 1.184 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.102, allocations: 0 / 1.184 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.102, allocations: 8 kB / 1.184 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.104, allocations: 267.7 kB / 1.184 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/1.105, allocations: 1.199 MB / 1.185 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.106, allocations: 191.4 kB / 1.186 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/1.106, allocations: 35.98 kB / 1.186 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.106, allocations: 4 kB / 1.186 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002941/1.109, allocations: 1.298 MB / 1.187 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.109, allocations: 3.953 kB / 1.187 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/1.109, allocations: 8.062 kB / 1.187 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.11, allocations: 247.6 kB / 1.187 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.11, allocations: 4 kB / 1.187 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.111, allocations: 203.1 kB / 1.187 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/1.111, allocations: 35.97 kB / 1.187 GB, free: 15.85 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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.0006979/1.112, allocations: 376.9 kB / 1.188 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/1.112, allocations: 102.8 kB / 1.188 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/1.115, allocations: 1.433 MB / 1.189 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.115, allocations: 8 kB / 1.189 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.116, allocations: 3.984 kB / 1.189 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.116, allocations: 0 / 1.189 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/1.121, allocations: 2.925 MB / 1.192 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.121, allocations: 8.469 kB / 1.192 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.122, allocations: 259.6 kB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/1.122, allocations: 11.98 kB / 1.192 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/1.122, allocations: 27.98 kB / 1.192 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007033/1.123, allocations: 1.188 MB / 1.194 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.123, allocations: 16.12 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/1.126, allocations: 1.525 MB / 1.195 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/1.127, allocations: 315.5 kB / 1.195 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.127, allocations: 15.98 kB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.128, allocations: 171.7 kB / 1.196 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.128, allocations: 60.38 kB / 1.196 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.128, allocations: 35.97 kB / 1.196 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008784/1.129, allocations: 0.5622 MB / 1.196 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.71e-07/1.129, allocations: 4 kB / 1.196 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001449/1.131, allocations: 0.5302 MB / 1.197 GB, free: 6.035 MB / 0.9512 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 () * Number of clocked 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.003946/1.135, allocations: 2.254 MB / 1.199 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005155/1.14, allocations: 2.123 MB / 1.201 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.14, allocations: 0 / 1.201 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/1.142, allocations: 0.6989 MB / 1.202 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.144, allocations: 0.526 MB / 1.202 GB, free: 364 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.159, allocations: 6.948 MB / 1.209 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/1.16, allocations: 1.091 MB / 1.21 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002087/1.162, allocations: 391.5 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/1.163, allocations: 391.3 kB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of SimCode: time 1.342e-06/1.163, allocations: 0 / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08945/1.252, allocations: 29.03 MB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.252, allocations: 288.1 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.75, allocations: 0 / 1.239 GB, free: 10.44 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat