Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.217/2.217, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001209/0.001209, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009406, allocations: 94.78 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.281e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3201, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.442/6.762, allocations: 2.165 GB / 3.371 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/6.763, allocations: 91.75 kB / 3.371 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.632/8.395, allocations: 483.7 MB / 3.844 GB, free: 110.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.224e-06/8.395, allocations: 0 / 3.844 GB, free: 110.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001848/8.395, allocations: 51.86 kB / 3.844 GB, free: 110.5 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004026/8.399, allocations: 1.518 MB / 3.845 GB, free: 109 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/8.399, allocations: 16.02 kB / 3.845 GB, free: 108.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/8.403, allocations: 485.7 kB / 3.846 GB, free: 108.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/8.406, allocations: 1.331 MB / 3.847 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/8.406, allocations: 32 kB / 3.847 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/8.406, allocations: 63.95 kB / 3.847 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/8.408, allocations: 1.128 MB / 3.848 GB, free: 105.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/8.41, allocations: 1.093 MB / 3.849 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/8.41, allocations: 8 kB / 3.849 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/8.41, allocations: 0 / 3.849 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/8.41, allocations: 41.98 kB / 3.849 GB, free: 104.7 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.005897/8.416, allocations: 4.681 MB / 3.854 GB, free: 99.67 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/8.417, allocations: 0.9358 MB / 3.855 GB, free: 98.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/8.418, allocations: 0.5405 MB / 3.855 GB, free: 98.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/8.418, allocations: 210.9 kB / 3.856 GB, free: 97.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/8.418, allocations: 43.34 kB / 3.856 GB, free: 97.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/8.418, allocations: 0 / 3.856 GB, free: 97.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004449/8.422, allocations: 2.449 MB / 3.858 GB, free: 95.38 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/8.422, allocations: 64.12 kB / 3.858 GB, free: 95.31 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/8.423, allocations: 0.7672 MB / 3.859 GB, free: 94.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/8.423, allocations: 37.7 kB / 3.859 GB, free: 94.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/8.423, allocations: 0.5272 MB / 3.859 GB, free: 93.94 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/8.424, allocations: 279.8 kB / 3.86 GB, free: 93.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/8.424, allocations: 0 / 3.86 GB, free: 93.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/8.424, allocations: 338 kB / 3.86 GB, free: 93.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/8.424, allocations: 421.3 kB / 3.86 GB, free: 92.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/8.425, allocations: 0.5646 MB / 3.861 GB, free: 92.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/8.425, allocations: 0.5235 MB / 3.861 GB, free: 91.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/8.425, allocations: 96 / 3.861 GB, free: 91.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001331/8.427, allocations: 1.163 MB / 3.863 GB, free: 90.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/8.427, allocations: 1.046 MB / 3.864 GB, free: 89.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/8.427, allocations: 8 kB / 3.864 GB, free: 89.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/8.427, allocations: 72.75 kB / 3.864 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/8.428, allocations: 195.7 kB / 3.864 GB, free: 89.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/8.43, allocations: 2.936 MB / 3.867 GB, free: 86.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/8.431, allocations: 139.6 kB / 3.867 GB, free: 85.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/8.431, allocations: 28 kB / 3.867 GB, free: 85.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/8.431, allocations: 1.875 kB / 3.867 GB, free: 85.93 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/8.432, allocations: 1.034 MB / 3.868 GB, free: 84.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/8.432, allocations: 0 / 3.868 GB, free: 84.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/8.433, allocations: 72.81 kB / 3.868 GB, free: 84.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/8.433, allocations: 175.7 kB / 3.868 GB, free: 84.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/8.434, allocations: 1.744 MB / 3.87 GB, free: 82.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/8.436, allocations: 135.6 kB / 3.87 GB, free: 82.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/8.436, allocations: 32.12 kB / 3.87 GB, free: 82.63 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002049/8.436, allocations: 121.5 kB / 3.87 GB, free: 82.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001333/8.437, allocations: 1.031 MB / 3.871 GB, free: 81.46 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/8.437, allocations: 110.7 kB / 3.871 GB, free: 81.35 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/8.439, allocations: 1.117 MB / 3.872 GB, free: 80.22 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/8.439, allocations: 12 kB / 3.872 GB, free: 80.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/8.439, allocations: 0 / 3.872 GB, free: 80.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/8.44, allocations: 1.193 MB / 3.873 GB, free: 78.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/8.443, allocations: 2.583 MB / 3.876 GB, free: 76.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/8.443, allocations: 4 kB / 3.876 GB, free: 76.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/8.444, allocations: 236 kB / 3.876 GB, free: 76.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/8.445, allocations: 72.7 kB / 3.876 GB, free: 75.98 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/8.445, allocations: 15.98 kB / 3.876 GB, free: 75.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/8.446, allocations: 2.916 MB / 3.879 GB, free: 72.89 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/8.446, allocations: 4.031 kB / 3.879 GB, free: 72.88 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/8.448, allocations: 1.852 MB / 3.881 GB, free: 70.93 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/8.449, allocations: 323.7 kB / 3.881 GB, free: 70.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/8.449, allocations: 7.984 kB / 3.881 GB, free: 70.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/8.45, allocations: 103.7 kB / 3.881 GB, free: 70.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/8.45, allocations: 56.7 kB / 3.881 GB, free: 70.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/8.45, allocations: 28 kB / 3.881 GB, free: 70.41 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000624/8.45, allocations: 0.6011 MB / 3.882 GB, free: 69.79 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.62e-07/8.45, allocations: 0 / 3.882 GB, free: 69.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002153/8.453, allocations: 0.7341 MB / 3.883 GB, free: 69.06 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 (76): * Single equations (assignments): 73 * 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.003818/8.456, allocations: 4.364 MB / 3.887 GB, free: 64.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002669/8.459, allocations: 1.813 MB / 3.889 GB, free: 62.74 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.459, allocations: 4 kB / 3.889 GB, free: 62.73 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006807/8.46, allocations: 0.6307 MB / 3.889 GB, free: 62.09 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/8.463, allocations: 0.7402 MB / 3.89 GB, free: 61.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/8.467, allocations: 2.985 MB / 3.893 GB, free: 58.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/8.468, allocations: 1.45 MB / 3.894 GB, free: 56.82 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002218/8.47, allocations: 0.9609 MB / 3.895 GB, free: 55.86 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/8.471, allocations: 439.3 kB / 3.896 GB, free: 55.43 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/8.471, allocations: 0 / 3.896 GB, free: 55.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/8.543, allocations: 46.5 MB / 3.941 GB, free: 9.172 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/8.543, allocations: 203.3 kB / 3.941 GB, free: 8.906 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/11.95, allocations: 0 / 3.941 GB, free: 8.906 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat does not exist to compare? outputFormat=mat