Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.499/2.499, allocations: 393.5 MB / 408.4 MB, free: 11 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.001759/0.001759, allocations: 185.8 kB / 0.4902 GB, free: 2.234 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.737/1.737, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001163/0.001163, allocations: 96.22 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004029, allocations: 10.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.176, allocations: 1.897 GB / 3.126 GB, free: 84.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.176, allocations: 88.97 kB / 3.126 GB, free: 84.62 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.243/9.42, allocations: 1.01 GB / 4.136 GB, free: 228.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/9.42, allocations: 3 kB / 4.136 GB, free: 228.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001811/9.42, allocations: 28.55 kB / 4.136 GB, free: 228.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.007829/9.428, allocations: 1.975 MB / 4.138 GB, free: 227.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/9.428, allocations: 15.89 kB / 4.138 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005447/9.428, allocations: 130.6 kB / 4.138 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/9.432, allocations: 0.5466 MB / 4.139 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/9.435, allocations: 1.078 MB / 4.14 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/9.436, allocations: 197.1 kB / 4.14 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/9.436, allocations: 87.02 kB / 4.14 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/9.44, allocations: 1.344 MB / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/9.44, allocations: 0 / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/9.44, allocations: 31.62 kB / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-05/9.44, allocations: 46.47 kB / 4.142 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/9.444, allocations: 1.502 MB / 4.143 GB, free: 227.4 MB / 1.167 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.007836/9.452, allocations: 4.195 MB / 4.147 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/9.454, allocations: 1.082 MB / 4.148 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/9.455, allocations: 0.6105 MB / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/9.455, allocations: 43.41 kB / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.915e-06/9.455, allocations: 0 / 4.149 GB, free: 225.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005106/9.46, allocations: 1.987 MB / 4.151 GB, free: 225.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/9.46, allocations: 59.59 kB / 4.151 GB, free: 225 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/9.462, allocations: 0.7138 MB / 4.152 GB, free: 224.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/9.462, allocations: 39.98 kB / 4.152 GB, free: 224.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/9.462, allocations: 445.6 kB / 4.152 GB, free: 224.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/9.462, allocations: 261 kB / 4.152 GB, free: 224.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/9.462, allocations: 14.78 kB / 4.152 GB, free: 224.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/9.462, allocations: 333.2 kB / 4.153 GB, free: 224.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/9.464, allocations: 0.5903 MB / 4.153 GB, free: 224.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/9.466, allocations: 0.7392 MB / 4.154 GB, free: 224.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/9.467, allocations: 0.6489 MB / 4.155 GB, free: 224.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/9.467, allocations: 3 kB / 4.155 GB, free: 224.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003557/9.471, allocations: 1.472 MB / 4.156 GB, free: 224 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/9.471, allocations: 485.6 kB / 4.156 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.471, allocations: 7.75 kB / 4.156 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/9.471, allocations: 3.656 kB / 4.156 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/9.473, allocations: 274.2 kB / 4.157 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006029/9.473, allocations: 1.194 MB / 4.158 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/9.475, allocations: 207.4 kB / 4.158 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/9.475, allocations: 38.59 kB / 4.158 GB, free: 222.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/9.475, allocations: 6.094 kB / 4.158 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003238/9.478, allocations: 1.373 MB / 4.159 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/9.478, allocations: 2.875 kB / 4.159 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/9.478, allocations: 3.938 kB / 4.159 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/9.479, allocations: 264.2 kB / 4.16 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/9.48, allocations: 3.844 kB / 4.16 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/9.481, allocations: 193.2 kB / 4.16 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/9.481, allocations: 45.17 kB / 4.16 GB, free: 222.3 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 () * Number of clocked 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.0007437/9.482, allocations: 373.8 kB / 4.16 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/9.482, allocations: 110.7 kB / 4.16 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/9.486, allocations: 1.497 MB / 4.162 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/9.486, allocations: 6.188 kB / 4.162 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/9.486, allocations: 3.062 kB / 4.162 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/9.486, allocations: 3.797 kB / 4.162 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/9.492, allocations: 2.991 MB / 4.165 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/9.492, allocations: 3.906 kB / 4.165 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/9.494, allocations: 258.2 kB / 4.165 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/9.494, allocations: 7.062 kB / 4.165 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/9.494, allocations: 26.58 kB / 4.165 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/9.494, allocations: 1.199 MB / 4.166 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/9.494, allocations: 3.906 kB / 4.166 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/9.498, allocations: 1.763 MB / 4.168 GB, free: 219.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/9.498, allocations: 321.8 kB / 4.168 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/9.499, allocations: 23.03 kB / 4.168 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/9.5, allocations: 167.4 kB / 4.168 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/9.501, allocations: 62.05 kB / 4.169 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/9.501, allocations: 39.52 kB / 4.169 GB, free: 219.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001815/9.503, allocations: 0.5574 MB / 4.169 GB, free: 219.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.31e-07/9.503, allocations: 3.594 kB / 4.169 GB, free: 219.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005035/9.508, allocations: 0.763 MB / 4.17 GB, free: 219.5 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 () * 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.008989/9.517, allocations: 5.607 MB / 4.175 GB, free: 216.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005699/9.522, allocations: 2.207 MB / 4.177 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/9.522, allocations: 3.188 kB / 4.177 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/9.524, allocations: 0.7281 MB / 4.178 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/9.527, allocations: 0.507 MB / 4.179 GB, free: 216.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/9.545, allocations: 4.456 MB / 4.183 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/9.546, allocations: 1.116 MB / 4.184 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002339/9.548, allocations: 414.3 kB / 4.185 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/9.549, allocations: 395.3 kB / 4.185 GB, free: 213.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/9.549, allocations: 0 / 4.185 GB, free: 213.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/9.652, allocations: 62.31 MB / 4.246 GB, free: 212.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/9.653, allocations: 288.6 kB / 4.246 GB, free: 212.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.283/13.94, allocations: 0 / 4.246 GB, free: 212.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat does not exist to compare? outputFormat=mat