Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.0009869/0.0009869, allocations: 180.9 kB / 361.4 MB, free: 6.793 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.659/1.659, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008639/0.0008639, allocations: 100.5 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.606e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7795, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/7.275, allocations: 2.324 GB / 3.289 GB, free: 154.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/7.275, allocations: 100.2 kB / 3.289 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.675/8.95, allocations: 472.9 MB / 3.751 GB, free: 70.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.605e-06/8.95, allocations: 0 / 3.751 GB, free: 70.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002383/8.95, allocations: 39.92 kB / 3.751 GB, free: 70.44 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.005122/8.955, allocations: 1.508 MB / 3.752 GB, free: 68.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/8.955, allocations: 8.031 kB / 3.752 GB, free: 68.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/8.959, allocations: 489.7 kB / 3.753 GB, free: 68.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/8.963, allocations: 1.3 MB / 3.754 GB, free: 67.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/8.963, allocations: 32 kB / 3.754 GB, free: 67.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/8.963, allocations: 64 kB / 3.754 GB, free: 66.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002322/8.965, allocations: 1.117 MB / 3.755 GB, free: 65.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/8.968, allocations: 1.089 MB / 3.756 GB, free: 64.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/8.968, allocations: 0 / 3.756 GB, free: 64.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/8.968, allocations: 3.953 kB / 3.756 GB, free: 64.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/8.968, allocations: 38 kB / 3.756 GB, free: 64.7 MB / 0.948 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.007243/8.975, allocations: 4.634 MB / 3.761 GB, free: 59.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/8.976, allocations: 0.9445 MB / 3.762 GB, free: 58.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/8.977, allocations: 0.5444 MB / 3.762 GB, free: 58.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/8.978, allocations: 199 kB / 3.762 GB, free: 57.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/8.978, allocations: 43.34 kB / 3.762 GB, free: 57.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 5.701e-06/8.978, allocations: 0 / 3.762 GB, free: 57.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.005578/8.983, allocations: 2.437 MB / 3.765 GB, free: 55.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/8.983, allocations: 60.19 kB / 3.765 GB, free: 55.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/8.985, allocations: 0.7587 MB / 3.766 GB, free: 54.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/8.985, allocations: 29.7 kB / 3.766 GB, free: 54.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/8.985, allocations: 0.5233 MB / 3.766 GB, free: 54.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/8.985, allocations: 275.9 kB / 3.766 GB, free: 53.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/8.985, allocations: 0 / 3.766 GB, free: 53.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/8.986, allocations: 341.9 kB / 3.767 GB, free: 53.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/8.986, allocations: 409.3 kB / 3.767 GB, free: 53.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/8.987, allocations: 0.5833 MB / 3.768 GB, free: 52.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/8.987, allocations: 0.5157 MB / 3.768 GB, free: 51.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/8.987, allocations: 8 kB / 3.768 GB, free: 51.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001791/8.989, allocations: 1.14 MB / 3.769 GB, free: 50.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003402/8.99, allocations: 1.059 MB / 3.77 GB, free: 49.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/8.99, allocations: 0 / 3.77 GB, free: 49.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/8.99, allocations: 72.81 kB / 3.77 GB, free: 49.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/8.991, allocations: 195.6 kB / 3.771 GB, free: 49.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/8.993, allocations: 2.939 MB / 3.773 GB, free: 46.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/8.995, allocations: 127.6 kB / 3.774 GB, free: 46.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/8.995, allocations: 28 kB / 3.774 GB, free: 46.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/8.995, allocations: 4 kB / 3.774 GB, free: 46.02 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/8.996, allocations: 1.014 MB / 3.775 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/8.996, allocations: 4 kB / 3.775 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/8.997, allocations: 72.81 kB / 3.775 GB, free: 44.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/8.997, allocations: 167.8 kB / 3.775 GB, free: 44.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/8.999, allocations: 1.756 MB / 3.777 GB, free: 42.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/9, allocations: 123.6 kB / 3.777 GB, free: 42.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/9.001, allocations: 31.98 kB / 3.777 GB, free: 42.73 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 () * 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.0003111/9.001, allocations: 128.7 kB / 3.777 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001621/9.003, allocations: 1.015 MB / 3.778 GB, free: 41.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/9.003, allocations: 110.7 kB / 3.778 GB, free: 41.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/9.005, allocations: 1.097 MB / 3.779 GB, free: 40.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/9.005, allocations: 8 kB / 3.779 GB, free: 40.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/9.005, allocations: 4 kB / 3.779 GB, free: 40.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/9.006, allocations: 1.177 MB / 3.78 GB, free: 39.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/9.01, allocations: 2.565 MB / 3.783 GB, free: 36.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/9.01, allocations: 4 kB / 3.783 GB, free: 36.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/9.011, allocations: 239.6 kB / 3.783 GB, free: 36.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/9.012, allocations: 73 kB / 3.783 GB, free: 36.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/9.012, allocations: 19.98 kB / 3.783 GB, free: 36.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/9.013, allocations: 2.916 MB / 3.786 GB, free: 33.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/9.013, allocations: 0 / 3.786 GB, free: 33.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/9.016, allocations: 1.953 MB / 3.788 GB, free: 31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007999/9.017, allocations: 315.8 kB / 3.788 GB, free: 30.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/9.017, allocations: 15.98 kB / 3.788 GB, free: 30.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/9.018, allocations: 103.6 kB / 3.788 GB, free: 30.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/9.018, allocations: 52.67 kB / 3.788 GB, free: 30.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/9.018, allocations: 31.98 kB / 3.788 GB, free: 30.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000973/9.019, allocations: 0.5927 MB / 3.789 GB, free: 29.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/9.019, allocations: 0 / 3.789 GB, free: 29.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003105/9.022, allocations: 0.7226 MB / 3.79 GB, free: 29.16 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 () * 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.005138/9.028, allocations: 4.457 MB / 3.794 GB, free: 24.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002982/9.031, allocations: 1.802 MB / 3.796 GB, free: 22.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/9.031, allocations: 0 / 3.796 GB, free: 22.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007986/9.031, allocations: 0.633 MB / 3.796 GB, free: 22.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/9.036, allocations: 0.7424 MB / 3.797 GB, free: 21.37 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/9.042, allocations: 2.932 MB / 3.8 GB, free: 18.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/9.043, allocations: 1.446 MB / 3.801 GB, free: 16.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002934/9.046, allocations: 0.9491 MB / 3.802 GB, free: 15.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/9.047, allocations: 439.3 kB / 3.803 GB, free: 15.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.843e-06/9.047, allocations: 0 / 3.803 GB, free: 15.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7962/9.843, allocations: 46.4 MB / 3.848 GB, free: 208.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/9.843, allocations: 213.5 kB / 3.848 GB, free: 208.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/13.54, allocations: 4 kB / 3.848 GB, free: 208.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)