Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.247/2.247, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001246/0.001246, allocations: 179.9 kB / 492.3 MB, free: 0.5977 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.634/1.634, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009526/0.0009526, allocations: 91.95 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.213e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3274, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.241/6.569, allocations: 2.167 GB / 3.379 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/6.569, allocations: 99.88 kB / 3.379 GB, free: 135.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.102/9.671, allocations: 0.7206 GB / 4.1 GB, free: 277 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.335e-06/9.672, allocations: 3.938 kB / 4.1 GB, free: 277 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002264/9.672, allocations: 47.64 kB / 4.1 GB, free: 277 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004944/9.677, allocations: 1.569 MB / 4.101 GB, free: 276 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/9.677, allocations: 11.86 kB / 4.101 GB, free: 276 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006373/9.677, allocations: 170.4 kB / 4.102 GB, free: 275.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/9.681, allocations: 494.2 kB / 4.102 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/9.685, allocations: 1.353 MB / 4.103 GB, free: 274.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/9.685, allocations: 82.72 kB / 4.103 GB, free: 274.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/9.686, allocations: 115.1 kB / 4.104 GB, free: 274.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/9.689, allocations: 1.285 MB / 4.105 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/9.689, allocations: 0 / 4.105 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/9.689, allocations: 43.53 kB / 4.105 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/9.689, allocations: 45.17 kB / 4.105 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/9.691, allocations: 1.224 MB / 4.106 GB, free: 273.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.007671/9.699, allocations: 5.052 MB / 4.111 GB, free: 269.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/9.7, allocations: 0.9334 MB / 4.112 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/9.701, allocations: 0.5877 MB / 4.113 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/9.701, allocations: 201 kB / 4.113 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/9.701, allocations: 49.59 kB / 4.113 GB, free: 268.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 3.927e-06/9.701, allocations: 3.844 kB / 4.113 GB, free: 268.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.005406/9.707, allocations: 2.675 MB / 4.115 GB, free: 267.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/9.707, allocations: 66.08 kB / 4.115 GB, free: 267 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/9.708, allocations: 0.905 MB / 4.116 GB, free: 266.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/9.708, allocations: 44.86 kB / 4.116 GB, free: 266.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/9.709, allocations: 0.551 MB / 4.117 GB, free: 266 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/9.709, allocations: 305.8 kB / 4.117 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/9.709, allocations: 15.97 kB / 4.117 GB, free: 265.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/9.709, allocations: 337.7 kB / 4.118 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/9.71, allocations: 449 kB / 4.118 GB, free: 265.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/9.71, allocations: 0.5959 MB / 4.119 GB, free: 264.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/9.711, allocations: 0.5493 MB / 4.119 GB, free: 264.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.711, allocations: 5.969 kB / 4.119 GB, free: 264.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001775/9.713, allocations: 1.245 MB / 4.12 GB, free: 264 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/9.713, allocations: 0.8 MB / 4.121 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/9.713, allocations: 6 kB / 4.121 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/9.713, allocations: 67.94 kB / 4.121 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/9.714, allocations: 188.6 kB / 4.121 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/9.716, allocations: 2.993 MB / 4.124 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/9.718, allocations: 155 kB / 4.124 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/9.718, allocations: 33.58 kB / 4.124 GB, free: 260.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/9.718, allocations: 6.031 kB / 4.124 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/9.719, allocations: 1.121 MB / 4.126 GB, free: 259.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/9.719, allocations: 3.156 kB / 4.126 GB, free: 259.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/9.719, allocations: 72.38 kB / 4.126 GB, free: 259.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/9.72, allocations: 175.9 kB / 4.126 GB, free: 259.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/9.721, allocations: 1.797 MB / 4.128 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/9.723, allocations: 153.6 kB / 4.128 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/9.723, allocations: 30.77 kB / 4.128 GB, free: 257.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/9.723, allocations: 153.2 kB / 4.128 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/9.723, allocations: 120.6 kB / 4.128 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/9.725, allocations: 1.234 MB / 4.129 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/9.725, allocations: 7.844 kB / 4.129 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/9.725, allocations: 10.38 kB / 4.129 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/9.727, allocations: 1.271 MB / 4.13 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/9.731, allocations: 2.899 MB / 4.133 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/9.731, allocations: 4 kB / 4.133 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/9.732, allocations: 242.6 kB / 4.133 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/9.732, allocations: 68.31 kB / 4.134 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/9.732, allocations: 24 kB / 4.134 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/9.734, allocations: 2.985 MB / 4.136 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/9.734, allocations: 4.188 kB / 4.136 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/9.736, allocations: 1.994 MB / 4.138 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/9.737, allocations: 339.6 kB / 4.139 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/9.737, allocations: 24 kB / 4.139 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/9.739, allocations: 117.3 kB / 4.139 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/9.739, allocations: 55.92 kB / 4.139 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/9.739, allocations: 31.98 kB / 4.139 GB, free: 247.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001079/9.74, allocations: 0.7289 MB / 4.14 GB, free: 246.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.382e-06/9.74, allocations: 0 / 4.14 GB, free: 246.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00288/9.743, allocations: 0.8045 MB / 4.14 GB, free: 245.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005975/9.749, allocations: 4.346 MB / 4.145 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003495/9.752, allocations: 1.941 MB / 4.147 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/9.752, allocations: 4 kB / 4.147 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/9.753, allocations: 0.6777 MB / 4.147 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/9.757, allocations: 0.7921 MB / 4.148 GB, free: 238.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/9.764, allocations: 3.147 MB / 4.151 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/9.765, allocations: 1.489 MB / 4.153 GB, free: 233.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003187/9.769, allocations: 1.03 MB / 4.154 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/9.769, allocations: 463.3 kB / 4.154 GB, free: 232.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.303e-06/9.769, allocations: 0 / 4.154 GB, free: 232.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09761/9.867, allocations: 64.36 MB / 4.217 GB, free: 168.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/9.867, allocations: 255.6 kB / 4.217 GB, free: 168.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.916/13.78, allocations: 0 / 4.217 GB, free: 168.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat does not exist to compare? outputFormat=mat