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.281/2.281, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001196/0.001196, allocations: 180.8 kB / 496.1 MB, free: 12.85 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.499/1.499, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009983/0.0009983, allocations: 88.02 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.1e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2897, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.703/5.992, allocations: 1.897 GB / 3.115 GB, free: 311.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/5.993, allocations: 86.89 kB / 3.115 GB, free: 311.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.672/9.665, allocations: 1.01 GB / 4.125 GB, free: 202.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/9.665, allocations: 0 / 4.125 GB, free: 202.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.653e-05/9.665, allocations: 27.98 kB / 4.125 GB, free: 202.5 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.005579/9.671, allocations: 1.783 MB / 4.127 GB, free: 200.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/9.671, allocations: 15.97 kB / 4.127 GB, free: 200.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/9.671, allocations: 138.2 kB / 4.127 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/9.674, allocations: 0.5411 MB / 4.127 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/9.676, allocations: 1.074 MB / 4.129 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006056/9.677, allocations: 198.1 kB / 4.129 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/9.677, allocations: 82.72 kB / 4.129 GB, free: 198.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/9.679, allocations: 1.146 MB / 4.13 GB, free: 197.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/9.679, allocations: 0 / 4.13 GB, free: 197.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/9.679, allocations: 31.98 kB / 4.13 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/9.679, allocations: 41.98 kB / 4.13 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/9.681, allocations: 1.115 MB / 4.131 GB, free: 196.3 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.006289/9.687, allocations: 4.194 MB / 4.135 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/9.688, allocations: 0.7547 MB / 4.136 GB, free: 191.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/9.689, allocations: 0.5152 MB / 4.136 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/9.69, allocations: 0.6036 MB / 4.137 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/9.69, allocations: 51.22 kB / 4.137 GB, free: 189.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/9.69, allocations: 0 / 4.137 GB, free: 189.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001839/9.692, allocations: 1.021 MB / 4.138 GB, free: 188.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/9.692, allocations: 60.19 kB / 4.138 GB, free: 188.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/9.693, allocations: 0.6977 MB / 4.139 GB, free: 188 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/9.693, allocations: 41.7 kB / 4.139 GB, free: 187.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/9.693, allocations: 459.1 kB / 4.139 GB, free: 187.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/9.693, allocations: 256.2 kB / 4.139 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/9.693, allocations: 12 kB / 4.139 GB, free: 187.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/9.693, allocations: 334 kB / 4.14 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/9.694, allocations: 409.4 kB / 4.14 GB, free: 186.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/9.695, allocations: 0.5455 MB / 4.141 GB, free: 185.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/9.695, allocations: 467.5 kB / 4.141 GB, free: 185.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/9.695, allocations: 3.375 kB / 4.141 GB, free: 185.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001544/9.697, allocations: 1.094 MB / 4.142 GB, free: 184.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/9.697, allocations: 485.2 kB / 4.143 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/9.697, allocations: 4 kB / 4.143 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/9.697, allocations: 4 kB / 4.143 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/9.698, allocations: 281.8 kB / 4.143 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005105/9.699, allocations: 1.186 MB / 4.144 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/9.7, allocations: 199 kB / 4.144 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/9.7, allocations: 43.97 kB / 4.144 GB, free: 182.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/9.7, allocations: 4 kB / 4.144 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001441/9.702, allocations: 1.006 MB / 4.145 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/9.702, allocations: 0 / 4.145 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-06/9.702, allocations: 4 kB / 4.145 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/9.703, allocations: 257 kB / 4.146 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/9.703, allocations: 4 kB / 4.146 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/9.704, allocations: 202.1 kB / 4.146 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/9.704, allocations: 40.34 kB / 4.146 GB, free: 180.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.0002188/9.705, allocations: 144.9 kB / 4.146 GB, free: 180.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/9.705, allocations: 102.8 kB / 4.146 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/9.707, allocations: 1.12 MB / 4.147 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/9.707, allocations: 8 kB / 4.147 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/9.707, allocations: 7.922 kB / 4.147 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/9.707, allocations: 0 / 4.147 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/9.71, allocations: 2.626 MB / 4.15 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/9.71, allocations: 4 kB / 4.15 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/9.711, allocations: 259.6 kB / 4.15 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/9.711, allocations: 8 kB / 4.15 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/9.711, allocations: 31.97 kB / 4.15 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00039/9.712, allocations: 1.188 MB / 4.151 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/9.712, allocations: 7.938 kB / 4.151 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/9.713, allocations: 1.385 MB / 4.153 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/9.714, allocations: 319.5 kB / 4.153 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/9.714, allocations: 20 kB / 4.153 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/9.715, allocations: 171.7 kB / 4.153 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/9.715, allocations: 56.39 kB / 4.153 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/9.715, allocations: 43.95 kB / 4.153 GB, free: 172.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006114/9.716, allocations: 0.5469 MB / 4.154 GB, free: 172.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.61e-07/9.716, allocations: 0 / 4.154 GB, free: 172.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002328/9.718, allocations: 0.7608 MB / 4.154 GB, free: 171.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 () * 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.005466/9.724, allocations: 5.234 MB / 4.16 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002729/9.727, allocations: 1.674 MB / 4.161 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.727, allocations: 384 / 4.161 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/9.727, allocations: 0.5457 MB / 4.162 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/9.73, allocations: 0.4969 MB / 4.162 GB, free: 163.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/9.744, allocations: 2.624 MB / 4.165 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/9.745, allocations: 1.112 MB / 4.166 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002317/9.747, allocations: 490.5 kB / 4.166 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/9.748, allocations: 379.3 kB / 4.167 GB, free: 158.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.104e-06/9.748, allocations: 0 / 4.167 GB, free: 158.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/9.855, allocations: 69.99 MB / 4.235 GB, free: 89.05 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/9.856, allocations: 259.5 kB / 4.235 GB, free: 88.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/14.45, allocations: 0 / 4.235 GB, free: 88.72 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