Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.565/1.565, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 186.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009912/0.0009912, allocations: 98.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.852/7.128, allocations: 2.443 GB / 3.343 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/7.129, allocations: 100.8 kB / 3.343 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.688/9.816, allocations: 0.6881 GB / 4.031 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.313e-06/9.816, allocations: 0 / 4.031 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002084/9.817, allocations: 43.98 kB / 4.031 GB, free: 107 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.005365/9.822, allocations: 1.816 MB / 4.033 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/9.822, allocations: 8.031 kB / 4.033 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006287/9.823, allocations: 172.7 kB / 4.033 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/9.826, allocations: 497.6 kB / 4.033 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/9.83, allocations: 1.343 MB / 4.035 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/9.83, allocations: 86.11 kB / 4.035 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/9.83, allocations: 119.9 kB / 4.035 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/9.833, allocations: 1.324 MB / 4.036 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/9.833, allocations: 0 / 4.036 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/9.833, allocations: 48 kB / 4.036 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/9.833, allocations: 50.03 kB / 4.036 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/9.835, allocations: 1.253 MB / 4.038 GB, free: 100.2 MB / 0.8855 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.007615/9.843, allocations: 5.054 MB / 4.042 GB, free: 94.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/9.844, allocations: 1.035 MB / 4.043 GB, free: 93.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/9.844, allocations: 202.8 kB / 4.044 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/9.844, allocations: 43.22 kB / 4.044 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.817e-06/9.844, allocations: 0 / 4.044 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84): time 0.005806/9.85, allocations: 3.057 MB / 4.047 GB, free: 90.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/9.85, allocations: 64.41 kB / 4.047 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/9.851, allocations: 0.9237 MB / 4.048 GB, free: 89.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/9.851, allocations: 45.7 kB / 4.048 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/9.852, allocations: 0.5469 MB / 4.048 GB, free: 88.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/9.852, allocations: 299.7 kB / 4.049 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/9.852, allocations: 16 kB / 4.049 GB, free: 88.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/9.852, allocations: 345.9 kB / 4.049 GB, free: 88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/9.853, allocations: 441.7 kB / 4.049 GB, free: 87.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/9.853, allocations: 0.6014 MB / 4.05 GB, free: 86.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/9.854, allocations: 0.5455 MB / 4.05 GB, free: 86.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/9.854, allocations: 0 / 4.05 GB, free: 86.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001549/9.855, allocations: 1.246 MB / 4.052 GB, free: 85.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/9.855, allocations: 0.7902 MB / 4.052 GB, free: 84.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/9.855, allocations: 4 kB / 4.052 GB, free: 84.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/9.856, allocations: 72.8 kB / 4.052 GB, free: 84.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/9.857, allocations: 195.4 kB / 4.053 GB, free: 84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/9.858, allocations: 3.014 MB / 4.056 GB, free: 80.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/9.86, allocations: 139.7 kB / 4.056 GB, free: 80.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/9.86, allocations: 35.98 kB / 4.056 GB, free: 80.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/9.86, allocations: 4 kB / 4.056 GB, free: 80.63 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/9.861, allocations: 1.113 MB / 4.057 GB, free: 79.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/9.861, allocations: 4 kB / 4.057 GB, free: 79.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/9.861, allocations: 69.19 kB / 4.057 GB, free: 79.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/9.862, allocations: 171.8 kB / 4.057 GB, free: 79.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/9.863, allocations: 1.838 MB / 4.059 GB, free: 77.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/9.865, allocations: 143.6 kB / 4.059 GB, free: 77.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/9.865, allocations: 31.94 kB / 4.059 GB, free: 77.12 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0009738/9.866, allocations: 0.6216 MB / 4.06 GB, free: 76.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/9.866, allocations: 126.5 kB / 4.06 GB, free: 76.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/9.868, allocations: 1.228 MB / 4.061 GB, free: 75.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/9.868, allocations: 8 kB / 4.061 GB, free: 75.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/9.868, allocations: 0 / 4.061 GB, free: 75.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/9.869, allocations: 1.264 MB / 4.062 GB, free: 73.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/9.873, allocations: 2.89 MB / 4.065 GB, free: 70.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/9.873, allocations: 4 kB / 4.065 GB, free: 70.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/9.874, allocations: 250 kB / 4.065 GB, free: 70.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/9.875, allocations: 72.81 kB / 4.065 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/9.875, allocations: 23.98 kB / 4.065 GB, free: 70.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/9.876, allocations: 3.003 MB / 4.068 GB, free: 67.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/9.876, allocations: 7.938 kB / 4.068 GB, free: 67.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/9.878, allocations: 2.096 MB / 4.07 GB, free: 65.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008945/9.879, allocations: 351.6 kB / 4.071 GB, free: 64.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/9.879, allocations: 24 kB / 4.071 GB, free: 64.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/9.881, allocations: 119.7 kB / 4.071 GB, free: 64.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/9.881, allocations: 56.53 kB / 4.071 GB, free: 64.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/9.881, allocations: 35.94 kB / 4.071 GB, free: 64.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00089/9.882, allocations: 0.7478 MB / 4.072 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/9.882, allocations: 0 / 4.072 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002274/9.884, allocations: 0.8085 MB / 4.072 GB, free: 62.92 MB / 0.8855 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 (79): * Single equations (assignments): 76 * 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.004533/9.888, allocations: 4.459 MB / 4.077 GB, free: 58.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002648/9.891, allocations: 1.891 MB / 4.079 GB, free: 56.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/9.891, allocations: 0 / 4.079 GB, free: 56.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007602/9.892, allocations: 0.6825 MB / 4.079 GB, free: 55.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/9.895, allocations: 0.7881 MB / 4.08 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/9.908, allocations: 10.12 MB / 4.09 GB, free: 44.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/9.909, allocations: 1.495 MB / 4.091 GB, free: 43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002121/9.911, allocations: 0.6963 MB / 4.092 GB, free: 42.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/9.912, allocations: 475.3 kB / 4.093 GB, free: 41.83 MB / 0.8855 GB Notification: Performance of SimCode: time 1.323e-06/9.912, allocations: 0 / 4.093 GB, free: 41.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6074/10.52, allocations: 59.46 MB / 4.151 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/10.52, allocations: 294.7 kB / 4.151 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/14.25, allocations: 1.281 kB / 4.151 GB, free: 188.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)