Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.304/2.304, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.00126/0.00126, allocations: 173.1 kB / 498.1 MB, free: 5.758 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.591/1.591, allocations: 223.1 MB / 0.7948 GB, free: 18.93 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.0009944/0.0009943, allocations: 105.7 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 10.44 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.379/4.659, allocations: 1.949 GB / 3.172 GB, free: 28.87 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/4.66, allocations: 91.95 kB / 3.172 GB, free: 28.78 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.619/6.279, allocations: 477.7 MB / 3.638 GB, free: 20.65 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.182e-06/6.279, allocations: 0 / 3.638 GB, free: 20.65 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001369/6.279, allocations: 27.98 kB / 3.638 GB, free: 20.62 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005696/6.285, allocations: 1.629 MB / 3.64 GB, free: 18.95 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/6.285, allocations: 16.03 kB / 3.64 GB, free: 18.93 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004494/6.285, allocations: 114.5 kB / 3.64 GB, free: 18.81 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/6.288, allocations: 290.4 kB / 3.64 GB, free: 18.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/6.29, allocations: 0.8433 MB / 3.641 GB, free: 17.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/6.29, allocations: 49.3 kB / 3.641 GB, free: 17.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/6.29, allocations: 71.97 kB / 3.641 GB, free: 17.52 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/6.292, allocations: 0.9704 MB / 3.642 GB, free: 16.53 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/6.292, allocations: 4 kB / 3.642 GB, free: 16.52 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/6.292, allocations: 23.98 kB / 3.642 GB, free: 16.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-05/6.292, allocations: 77.94 kB / 3.642 GB, free: 16.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/6.294, allocations: 0.9799 MB / 3.643 GB, free: 15.45 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.006238/6.3, allocations: 3.594 MB / 3.647 GB, free: 11.62 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/6.301, allocations: 0.6617 MB / 3.648 GB, free: 10.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/6.301, allocations: 195.3 kB / 3.648 GB, free: 10.73 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/6.301, allocations: 43.06 kB / 3.648 GB, free: 10.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.216e-06/6.301, allocations: 0 / 3.648 GB, free: 10.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.00182/6.303, allocations: 1.017 MB / 3.649 GB, free: 9.652 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/6.303, allocations: 111.4 kB / 3.649 GB, free: 9.52 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/6.304, allocations: 0.7074 MB / 3.65 GB, free: 8.805 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/6.304, allocations: 41.7 kB / 3.65 GB, free: 8.758 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/6.305, allocations: 420.1 kB / 3.65 GB, free: 8.34 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/6.305, allocations: 212.9 kB / 3.65 GB, free: 8.129 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/6.305, allocations: 16 kB / 3.65 GB, free: 8.113 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/6.305, allocations: 334 kB / 3.651 GB, free: 7.781 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/6.305, allocations: 321.8 kB / 3.651 GB, free: 7.465 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/6.306, allocations: 448.7 kB / 3.651 GB, free: 6.988 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/6.306, allocations: 383.1 kB / 3.652 GB, free: 6.617 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/6.306, allocations: 4 kB / 3.652 GB, free: 6.613 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001282/6.308, allocations: 0.8944 MB / 3.653 GB, free: 5.711 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/6.308, allocations: 0.7058 MB / 3.653 GB, free: 4.949 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/6.308, allocations: 7.938 kB / 3.653 GB, free: 4.941 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/6.308, allocations: 4 kB / 3.653 GB, free: 4.938 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/6.309, allocations: 151.8 kB / 3.653 GB, free: 4.789 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/6.309, allocations: 4 kB / 3.653 GB, free: 4.785 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/6.31, allocations: 115.1 kB / 3.653 GB, free: 4.672 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/6.31, allocations: 27.94 kB / 3.654 GB, free: 4.645 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/6.31, allocations: 4 kB / 3.654 GB, free: 4.641 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/6.311, allocations: 0.761 MB / 3.654 GB, free: 3.879 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/6.311, allocations: 8 kB / 3.654 GB, free: 3.871 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/6.311, allocations: 4 kB / 3.654 GB, free: 3.867 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/6.311, allocations: 139.8 kB / 3.654 GB, free: 3.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/6.311, allocations: 7.953 kB / 3.654 GB, free: 3.723 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/6.312, allocations: 107.4 kB / 3.655 GB, free: 3.617 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/6.312, allocations: 27.98 kB / 3.655 GB, free: 3.59 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004759/6.313, allocations: 372.8 kB / 3.655 GB, free: 3.215 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/6.313, allocations: 90.97 kB / 3.655 GB, free: 3.125 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/6.314, allocations: 0.8008 MB / 3.656 GB, free: 2.32 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/6.314, allocations: 8 kB / 3.656 GB, free: 2.312 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/6.314, allocations: 3.953 kB / 3.656 GB, free: 2.309 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008581/6.315, allocations: 0.7438 MB / 3.657 GB, free: 1.531 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6938/7.009, allocations: 2.073 MB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/7.009, allocations: 3.688 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/7.01, allocations: 130.4 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/7.01, allocations: 6.531 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/7.01, allocations: 19.58 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/7.01, allocations: 8.359 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/7.01, allocations: 10.94 kB / 3.659 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/7.012, allocations: 1.509 MB / 3.66 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/7.013, allocations: 262 kB / 3.66 GB, free: 288.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/7.013, allocations: 18.98 kB / 3.66 GB, free: 288.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/7.014, allocations: 52.25 kB / 3.66 GB, free: 288.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/7.014, allocations: 49.23 kB / 3.661 GB, free: 288.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/7.014, allocations: 26.98 kB / 3.661 GB, free: 288.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008381/7.015, allocations: 0.5524 MB / 3.661 GB, free: 288.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/7.015, allocations: 3.125 kB / 3.661 GB, free: 288.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002981/7.018, allocations: 0.9246 MB / 3.662 GB, free: 288.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00588/7.024, allocations: 4.678 MB / 3.667 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002334/7.026, allocations: 1.147 MB / 3.668 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/7.026, allocations: 1.531 kB / 3.668 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006145/7.027, allocations: 369.7 kB / 3.668 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/7.029, allocations: 0.4897 MB / 3.669 GB, free: 286.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/7.035, allocations: 4.241 MB / 3.673 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/7.036, allocations: 1.094 MB / 3.674 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001796/7.038, allocations: 408.3 kB / 3.674 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/7.038, allocations: 339.7 kB / 3.674 GB, free: 282.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/7.038, allocations: 0 / 3.674 GB, free: 282.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09196/7.13, allocations: 49.92 MB / 3.723 GB, free: 282.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/7.13, allocations: 234.7 kB / 3.723 GB, free: 282.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/10.86, allocations: 0 / 3.723 GB, free: 282.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat