Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002045/0.002046, allocations: 193 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 90.55 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.402/7.744, allocations: 2.326 GB / 3.314 GB, free: 256.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/7.744, allocations: 103.4 kB / 3.315 GB, free: 256.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.737/9.481, allocations: 478.7 MB / 3.782 GB, free: 150.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/9.481, allocations: 3.938 kB / 3.782 GB, free: 150.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001078/9.481, allocations: 32 kB / 3.782 GB, free: 150.1 MB / 0.948 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.003619/9.485, allocations: 1.754 MB / 3.784 GB, free: 148.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/9.485, allocations: 8.031 kB / 3.784 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/9.485, allocations: 164.1 kB / 3.784 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/9.488, allocations: 493.6 kB / 3.784 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/9.49, allocations: 1.301 MB / 3.786 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/9.49, allocations: 78 kB / 3.786 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/9.491, allocations: 102.4 kB / 3.786 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/9.492, allocations: 1.241 MB / 3.787 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/9.492, allocations: 7.844 kB / 3.787 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/9.492, allocations: 44 kB / 3.787 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/9.493, allocations: 37.98 kB / 3.787 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/9.494, allocations: 1.171 MB / 3.788 GB, free: 143.6 MB / 0.948 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.005263/9.499, allocations: 4.864 MB / 3.793 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/9.5, allocations: 0.9755 MB / 3.794 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/9.501, allocations: 198.8 kB / 3.794 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/9.501, allocations: 47.22 kB / 3.794 GB, free: 137.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.616e-06/9.501, allocations: 0 / 3.794 GB, free: 137.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.004537/9.505, allocations: 2.959 MB / 3.797 GB, free: 134.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/9.505, allocations: 64 kB / 3.797 GB, free: 134 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/9.506, allocations: 0.8463 MB / 3.798 GB, free: 133.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/9.506, allocations: 45.7 kB / 3.798 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/9.507, allocations: 0.5312 MB / 3.799 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/9.507, allocations: 291.8 kB / 3.799 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/9.507, allocations: 16 kB / 3.799 GB, free: 132.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/9.507, allocations: 341.9 kB / 3.799 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/9.507, allocations: 437.7 kB / 3.8 GB, free: 131.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/9.508, allocations: 0.6028 MB / 3.8 GB, free: 130.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/9.509, allocations: 0.5454 MB / 3.801 GB, free: 130.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/9.509, allocations: 4 kB / 3.801 GB, free: 130.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001462/9.51, allocations: 1.231 MB / 3.802 GB, free: 129 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/9.51, allocations: 1.051 MB / 3.803 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/9.51, allocations: 4 kB / 3.803 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/9.511, allocations: 72.81 kB / 3.803 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/9.511, allocations: 187.6 kB / 3.803 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/9.513, allocations: 3.018 MB / 3.806 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/9.515, allocations: 139.7 kB / 3.806 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/9.515, allocations: 35.98 kB / 3.806 GB, free: 124.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/9.515, allocations: 4 kB / 3.806 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/9.516, allocations: 1.121 MB / 3.807 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/9.516, allocations: 4 kB / 3.807 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/9.516, allocations: 69.16 kB / 3.807 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/9.517, allocations: 175.7 kB / 3.808 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/9.518, allocations: 1.827 MB / 3.809 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/9.519, allocations: 143.5 kB / 3.81 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/9.519, allocations: 31.98 kB / 3.81 GB, free: 120.8 MB / 0.948 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 () * Number of clocked 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.0008646/9.52, allocations: 0.6036 MB / 3.81 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/9.52, allocations: 107.1 kB / 3.81 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/9.522, allocations: 1.181 MB / 3.811 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/9.522, allocations: 8 kB / 3.811 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/9.522, allocations: 0 / 3.811 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/9.523, allocations: 1.237 MB / 3.813 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/9.527, allocations: 2.784 MB / 3.815 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/9.527, allocations: 4 kB / 3.815 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/9.528, allocations: 239.6 kB / 3.816 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/9.528, allocations: 77.05 kB / 3.816 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/9.528, allocations: 23.95 kB / 3.816 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/9.53, allocations: 3.007 MB / 3.819 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/9.53, allocations: 4.062 kB / 3.819 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/9.532, allocations: 2.025 MB / 3.821 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/9.533, allocations: 323.7 kB / 3.821 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/9.533, allocations: 27.98 kB / 3.821 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/9.534, allocations: 119.7 kB / 3.821 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/9.534, allocations: 48.59 kB / 3.821 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/9.534, allocations: 31.98 kB / 3.821 GB, free: 108.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007458/9.535, allocations: 0.6757 MB / 3.822 GB, free: 107.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/9.535, allocations: 0 / 3.822 GB, free: 107.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002359/9.537, allocations: 0.7929 MB / 3.823 GB, free: 107 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (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.004445/9.541, allocations: 4.365 MB / 3.827 GB, free: 102.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002778/9.544, allocations: 1.867 MB / 3.829 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/9.544, allocations: 4 kB / 3.829 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/9.545, allocations: 0.6673 MB / 3.829 GB, free: 99.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/9.548, allocations: 0.7838 MB / 3.83 GB, free: 99.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/9.559, allocations: 10.15 MB / 3.84 GB, free: 88.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/9.56, allocations: 1.44 MB / 3.841 GB, free: 87.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00194/9.562, allocations: 0.6882 MB / 3.842 GB, free: 86.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/9.563, allocations: 451.3 kB / 3.842 GB, free: 86.07 MB / 0.948 GB Notification: Performance of SimCode: time 1.442e-06/9.563, allocations: 4 kB / 3.842 GB, free: 86.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/9.677, allocations: 58.09 MB / 3.899 GB, free: 28.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/9.677, allocations: 287.3 kB / 3.899 GB, free: 27.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/13.8, allocations: 0 / 3.899 GB, free: 27.93 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)