Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.609/2.609, 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.001303/0.001303, allocations: 183.5 kB / 0.4901 GB, free: 2.27 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.639/1.639, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001232/0.001231, allocations: 98.34 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 11.89 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3905, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.57/5.961, allocations: 1.982 GB / 3.212 GB, free: 337.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/5.961, allocations: 90.66 kB / 3.212 GB, free: 337.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5258/6.487, allocations: 272.2 MB / 3.478 GB, free: 153.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.774e-06/6.487, allocations: 0 / 3.478 GB, free: 153.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.454e-05/6.487, allocations: 19.94 kB / 3.478 GB, free: 153.3 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.002608/6.49, allocations: 0.9864 MB / 3.479 GB, free: 152.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/6.49, allocations: 8.562 kB / 3.479 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/6.49, allocations: 102.5 kB / 3.479 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/6.491, allocations: 163 kB / 3.479 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/6.492, allocations: 0.5291 MB / 3.479 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/6.492, allocations: 49.25 kB / 3.479 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/6.492, allocations: 51.94 kB / 3.48 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/6.493, allocations: 0.6409 MB / 3.48 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/6.493, allocations: 0 / 3.48 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/6.494, allocations: 28 kB / 3.48 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/6.494, allocations: 21.31 kB / 3.48 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/6.494, allocations: 0.5087 MB / 3.481 GB, free: 150.1 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.002869/6.497, allocations: 2.239 MB / 3.483 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/6.498, allocations: 247.8 kB / 3.483 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/6.498, allocations: 4 kB / 3.483 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/6.498, allocations: 42.5 kB / 3.483 GB, free: 147.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/6.498, allocations: 0 / 3.483 GB, free: 147.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.001477/6.499, allocations: 0.6593 MB / 3.484 GB, free: 146.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/6.499, allocations: 85.09 kB / 3.484 GB, free: 146.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/6.5, allocations: 0.4902 MB / 3.484 GB, free: 146.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/6.5, allocations: 33.7 kB / 3.484 GB, free: 146 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/6.5, allocations: 331.4 kB / 3.485 GB, free: 145.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/6.5, allocations: 70.98 kB / 3.485 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/6.5, allocations: 16 kB / 3.485 GB, free: 145.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/6.5, allocations: 362.7 kB / 3.485 GB, free: 145.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/6.5, allocations: 128.6 kB / 3.485 GB, free: 145.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/6.501, allocations: 215.5 kB / 3.485 GB, free: 144.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/6.501, allocations: 169.5 kB / 3.486 GB, free: 144.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/6.501, allocations: 3.938 kB / 3.486 GB, free: 144.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006705/6.502, allocations: 478.5 kB / 3.486 GB, free: 144.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/6.502, allocations: 11.94 kB / 3.486 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/6.502, allocations: 0 / 3.486 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/6.502, allocations: 89.94 kB / 3.486 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/6.502, allocations: 67.91 kB / 3.486 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/6.504, allocations: 3.023 MB / 3.489 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/6.505, allocations: 79.41 kB / 3.489 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/6.505, allocations: 8 kB / 3.489 GB, free: 140.7 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.0003305/6.505, allocations: 217.7 kB / 3.489 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/6.505, allocations: 55.34 kB / 3.49 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/6.506, allocations: 56.44 kB / 3.49 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/6.506, allocations: 7.984 kB / 3.49 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/6.506, allocations: 4 kB / 3.49 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005038/6.506, allocations: 0.5161 MB / 3.49 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/6.507, allocations: 0.9027 MB / 3.491 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/6.507, allocations: 0 / 3.491 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/6.507, allocations: 47.91 kB / 3.491 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/6.508, allocations: 64.88 kB / 3.491 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/6.508, allocations: 3.953 kB / 3.491 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/6.509, allocations: 1.64 MB / 3.493 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.509, allocations: 4.031 kB / 3.493 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/6.509, allocations: 459 kB / 3.493 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/6.51, allocations: 168.4 kB / 3.493 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/6.51, allocations: 8 kB / 3.493 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/6.51, allocations: 35.88 kB / 3.493 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/6.51, allocations: 15.98 kB / 3.493 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/6.51, allocations: 15.98 kB / 3.493 GB, free: 136.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003833/6.511, allocations: 394.8 kB / 3.494 GB, free: 135.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.511, allocations: 4 kB / 3.494 GB, free: 135.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001002/6.512, allocations: 287.6 kB / 3.494 GB, free: 135.5 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.001895/6.513, allocations: 1.979 MB / 3.496 GB, free: 133.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008102/6.514, allocations: 0.5234 MB / 3.496 GB, free: 132.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.514, allocations: 0 / 3.496 GB, free: 132.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/6.515, allocations: 259.2 kB / 3.497 GB, free: 132.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/6.516, allocations: 355.6 kB / 3.497 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/6.52, allocations: 4.43 MB / 3.501 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/6.521, allocations: 0.9174 MB / 3.502 GB, free: 126.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005347/6.521, allocations: 112.8 kB / 3.502 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/6.521, allocations: 191.4 kB / 3.503 GB, free: 126.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.472e-06/6.521, allocations: 0 / 3.503 GB, free: 126.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/6.569, allocations: 31.58 MB / 3.533 GB, free: 95.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/6.57, allocations: 269.7 kB / 3.534 GB, free: 94.94 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/9.486, allocations: 0 / 3.534 GB, free: 94.94 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat does not exist to compare? outputFormat=mat