Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001438/0.001438, allocations: 173.1 kB / 498.1 MB, free: 5.727 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.567/1.567, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001115/0.001115, allocations: 91.97 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 11.59 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.042/4.358, allocations: 1.982 GB / 3.205 GB, free: 8.211 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/4.358, allocations: 91.94 kB / 3.205 GB, free: 8.164 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.134/5.492, allocations: 272.2 MB / 3.471 GB, free: 214.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.182e-06/5.492, allocations: 3.938 kB / 3.471 GB, free: 214.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.418e-05/5.492, allocations: 12 kB / 3.471 GB, free: 214.1 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001757/5.494, allocations: 0.9833 MB / 3.471 GB, free: 213 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/5.494, allocations: 11.97 kB / 3.472 GB, free: 213 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/5.494, allocations: 98.52 kB / 3.472 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/5.495, allocations: 174.8 kB / 3.472 GB, free: 212.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008568/5.496, allocations: 0.5369 MB / 3.472 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/5.496, allocations: 37.31 kB / 3.472 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/5.496, allocations: 52 kB / 3.472 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/5.497, allocations: 0.6448 MB / 3.473 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/5.497, allocations: 0 / 3.473 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/5.497, allocations: 20 kB / 3.473 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/5.497, allocations: 21.31 kB / 3.473 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/5.498, allocations: 0.5087 MB / 3.474 GB, free: 210.9 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.00276/5.501, allocations: 2.247 MB / 3.476 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/5.501, allocations: 242.8 kB / 3.476 GB, free: 208.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/5.501, allocations: 8.344 kB / 3.476 GB, free: 208.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/5.501, allocations: 46.5 kB / 3.476 GB, free: 208.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/5.501, allocations: 0 / 3.476 GB, free: 208.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.001426/5.503, allocations: 0.6508 MB / 3.477 GB, free: 207.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/5.503, allocations: 81.05 kB / 3.477 GB, free: 207.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/5.503, allocations: 0.498 MB / 3.477 GB, free: 206.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/5.503, allocations: 29.7 kB / 3.477 GB, free: 206.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/5.503, allocations: 335.4 kB / 3.478 GB, free: 206.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/5.503, allocations: 78.92 kB / 3.478 GB, free: 206.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/5.503, allocations: 8 kB / 3.478 GB, free: 206.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/5.503, allocations: 358.8 kB / 3.478 GB, free: 206 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/5.504, allocations: 128.6 kB / 3.478 GB, free: 205.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/5.504, allocations: 228.8 kB / 3.478 GB, free: 205.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/5.504, allocations: 163.9 kB / 3.478 GB, free: 205.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/5.504, allocations: 0 / 3.478 GB, free: 205.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006438/5.505, allocations: 482.4 kB / 3.479 GB, free: 205 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/5.505, allocations: 5.406 kB / 3.479 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/5.505, allocations: 4 kB / 3.479 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/5.505, allocations: 89.94 kB / 3.479 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/5.505, allocations: 71.91 kB / 3.479 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/5.507, allocations: 3.02 MB / 3.482 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/5.508, allocations: 67.47 kB / 3.482 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/5.508, allocations: 16 kB / 3.482 GB, free: 201.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/5.508, allocations: 214.2 kB / 3.482 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/5.508, allocations: 55.34 kB / 3.482 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.34e-05/5.509, allocations: 60.5 kB / 3.482 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/5.509, allocations: 0 / 3.482 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/5.509, allocations: 0 / 3.482 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000472/5.509, allocations: 0.5166 MB / 3.483 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/5.51, allocations: 0.9113 MB / 3.484 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/5.51, allocations: 7.984 kB / 3.484 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/5.51, allocations: 43.97 kB / 3.484 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/5.51, allocations: 60.88 kB / 3.484 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/5.51, allocations: 8 kB / 3.484 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/5.512, allocations: 1.632 MB / 3.486 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/5.512, allocations: 7.891 kB / 3.486 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/5.512, allocations: 461.5 kB / 3.486 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/5.512, allocations: 156.5 kB / 3.486 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/5.512, allocations: 11.95 kB / 3.486 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/5.513, allocations: 39.81 kB / 3.486 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/5.513, allocations: 20.34 kB / 3.486 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/5.513, allocations: 15.98 kB / 3.486 GB, free: 196.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003555/5.513, allocations: 394.8 kB / 3.487 GB, free: 196.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.513, allocations: 0 / 3.487 GB, free: 196.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000994/5.514, allocations: 283.7 kB / 3.487 GB, free: 196.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/5.516, allocations: 1.977 MB / 3.489 GB, free: 194.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007632/5.517, allocations: 0.5283 MB / 3.489 GB, free: 193.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/5.517, allocations: 0 / 3.489 GB, free: 193.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/5.517, allocations: 256.5 kB / 3.49 GB, free: 193.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/5.519, allocations: 355.2 kB / 3.49 GB, free: 193.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/5.523, allocations: 4.444 MB / 3.494 GB, free: 188.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/5.523, allocations: 0.9095 MB / 3.495 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005074/5.523, allocations: 120.8 kB / 3.495 GB, free: 187.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/5.524, allocations: 191.4 kB / 3.495 GB, free: 187.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.883e-06/5.524, allocations: 0 / 3.495 GB, free: 187.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/5.565, allocations: 31.56 MB / 3.526 GB, free: 156.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/5.566, allocations: 267.9 kB / 3.527 GB, free: 155.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/8.538, allocations: 0 / 3.527 GB, free: 155.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat does not exist to compare? outputFormat=mat