Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.5 MB / 257 MB, free: 6.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 184.9 kB / 316.3 MB, free: 3.238 MB / 250.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.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 92.66 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.768e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.092/7.328, allocations: 2.442 GB / 3.327 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/7.328, allocations: 94.23 kB / 3.327 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.345/8.673, allocations: 462.3 MB / 3.779 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/8.673, allocations: 4 kB / 3.779 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000109/8.673, allocations: 32 kB / 3.779 GB, free: 182.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002835/8.676, allocations: 1.529 MB / 3.781 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/8.676, allocations: 8.562 kB / 3.781 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/8.679, allocations: 487.2 kB / 3.781 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/8.681, allocations: 1.312 MB / 3.782 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/8.681, allocations: 32 kB / 3.782 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/8.681, allocations: 75.55 kB / 3.782 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001637/8.683, allocations: 1.136 MB / 3.783 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/8.685, allocations: 1.104 MB / 3.785 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/8.685, allocations: 0 / 3.785 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/8.685, allocations: 8 kB / 3.785 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/8.685, allocations: 37.94 kB / 3.785 GB, free: 176.7 MB / 0.8698 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.005538/8.69, allocations: 4.685 MB / 3.789 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/8.691, allocations: 0.9121 MB / 3.79 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/8.692, allocations: 0.5349 MB / 3.791 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/8.692, allocations: 198.4 kB / 3.791 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/8.692, allocations: 47.34 kB / 3.791 GB, free: 170 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 4.008e-06/8.692, allocations: 3.984 kB / 3.791 GB, free: 170 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004419/8.697, allocations: 2.409 MB / 3.793 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/8.697, allocations: 60.19 kB / 3.793 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/8.698, allocations: 0.7712 MB / 3.794 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/8.698, allocations: 25.7 kB / 3.794 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/8.698, allocations: 0.5389 MB / 3.795 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/8.698, allocations: 279.8 kB / 3.795 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/8.698, allocations: 0 / 3.795 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/8.698, allocations: 349.9 kB / 3.795 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/8.699, allocations: 405.3 kB / 3.796 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/8.699, allocations: 0.5716 MB / 3.796 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/8.7, allocations: 0.5157 MB / 3.797 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.7, allocations: 0 / 3.797 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001412/8.701, allocations: 1.144 MB / 3.798 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/8.701, allocations: 1.047 MB / 3.799 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/8.702, allocations: 8 kB / 3.799 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/8.702, allocations: 72.75 kB / 3.799 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/8.703, allocations: 195.7 kB / 3.799 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/8.704, allocations: 2.924 MB / 3.802 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/8.706, allocations: 127.6 kB / 3.802 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/8.706, allocations: 28.19 kB / 3.802 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/8.706, allocations: 8 kB / 3.802 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/8.707, allocations: 1.003 MB / 3.803 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/8.707, allocations: 4.344 kB / 3.803 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/8.708, allocations: 72.81 kB / 3.803 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/8.708, allocations: 175.8 kB / 3.803 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/8.709, allocations: 1.74 MB / 3.805 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/8.711, allocations: 135.5 kB / 3.805 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/8.711, allocations: 35.98 kB / 3.805 GB, free: 154.8 MB / 0.8698 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.0002599/8.711, allocations: 116.8 kB / 3.805 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001306/8.713, allocations: 1.003 MB / 3.806 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/8.713, allocations: 114.7 kB / 3.806 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/8.714, allocations: 1.082 MB / 3.807 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/8.714, allocations: 8 kB / 3.807 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/8.714, allocations: 8.125 kB / 3.807 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/8.715, allocations: 1.158 MB / 3.808 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/8.719, allocations: 2.577 MB / 3.811 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/8.719, allocations: 4 kB / 3.811 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/8.72, allocations: 239.6 kB / 3.811 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/8.72, allocations: 72.75 kB / 3.811 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/8.72, allocations: 15.98 kB / 3.811 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/8.722, allocations: 2.915 MB / 3.814 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/8.722, allocations: 7.938 kB / 3.814 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/8.724, allocations: 1.926 MB / 3.816 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/8.725, allocations: 335.9 kB / 3.816 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/8.725, allocations: 12 kB / 3.816 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/8.726, allocations: 107.7 kB / 3.816 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/8.726, allocations: 52.72 kB / 3.817 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/8.726, allocations: 31.98 kB / 3.817 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007366/8.727, allocations: 0.6089 MB / 3.817 GB, free: 142 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.31e-07/8.727, allocations: 3.938 kB / 3.817 GB, free: 142 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002161/8.729, allocations: 0.7304 MB / 3.818 GB, free: 141.3 MB / 0.8698 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 () * 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.004163/8.733, allocations: 4.426 MB / 3.822 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002536/8.735, allocations: 1.786 MB / 3.824 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/8.735, allocations: 4 kB / 3.824 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/8.736, allocations: 0.6175 MB / 3.825 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/8.74, allocations: 0.7543 MB / 3.825 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/8.745, allocations: 2.984 MB / 3.828 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/8.746, allocations: 1.466 MB / 3.83 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002515/8.748, allocations: 0.9453 MB / 3.831 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/8.749, allocations: 443.3 kB / 3.831 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/8.749, allocations: 0 / 3.831 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07289/8.822, allocations: 46.82 MB / 3.877 GB, free: 81.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/8.822, allocations: 211.3 kB / 3.877 GB, free: 80.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/12.21, allocations: 0 / 3.877 GB, free: 80.83 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)