Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 285.4 MB / 298 MB, free: 5.969 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.001004/0.001003, allocations: 172.9 kB / 366.4 MB, free: 2.074 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.98/1.98, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.001077/0.001077, allocations: 94.11 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.819e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8559, allocations: 115.3 MB / 0.971 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.651/7.507, allocations: 2.326 GB / 3.297 GB, free: 127.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/7.507, allocations: 96.56 kB / 3.297 GB, free: 127.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.892/10.4, allocations: 0.7017 GB / 3.999 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/10.4, allocations: 0 / 3.999 GB, free: 163.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001067/10.4, allocations: 36 kB / 3.999 GB, free: 163.3 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.002979/10.4, allocations: 1.554 MB / 4 GB, free: 161.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/10.4, allocations: 8.031 kB / 4 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/10.4, allocations: 168.5 kB / 4 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/10.41, allocations: 491.6 kB / 4.001 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/10.41, allocations: 1.327 MB / 4.002 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/10.41, allocations: 82.06 kB / 4.002 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/10.41, allocations: 112 kB / 4.002 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/10.41, allocations: 1.273 MB / 4.003 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/10.41, allocations: 4 kB / 4.003 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/10.41, allocations: 44 kB / 4.004 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/10.41, allocations: 42.05 kB / 4.004 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/10.41, allocations: 1.214 MB / 4.005 GB, free: 156.9 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.006539/10.42, allocations: 5.015 MB / 4.01 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/10.42, allocations: 1.044 MB / 4.011 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/10.42, allocations: 0.5817 MB / 4.011 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/10.42, allocations: 212.1 kB / 4.011 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/10.42, allocations: 43.34 kB / 4.011 GB, free: 149.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 3.246e-06/10.42, allocations: 3.469 kB / 4.011 GB, free: 149.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.004785/10.43, allocations: 2.658 MB / 4.014 GB, free: 146.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/10.43, allocations: 60.19 kB / 4.014 GB, free: 146.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/10.43, allocations: 0.8959 MB / 4.015 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/10.43, allocations: 45.7 kB / 4.015 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/10.43, allocations: 0.5392 MB / 4.016 GB, free: 145.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/10.43, allocations: 303.7 kB / 4.016 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/10.43, allocations: 16 kB / 4.016 GB, free: 144.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/10.43, allocations: 334 kB / 4.016 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/10.43, allocations: 445.3 kB / 4.017 GB, free: 144.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/10.43, allocations: 0.5974 MB / 4.017 GB, free: 143.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/10.43, allocations: 0.5485 MB / 4.018 GB, free: 142.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/10.43, allocations: 0 / 4.018 GB, free: 142.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001633/10.43, allocations: 1.237 MB / 4.019 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000253/10.43, allocations: 0.7925 MB / 4.02 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/10.43, allocations: 11.98 kB / 4.02 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/10.43, allocations: 64.83 kB / 4.02 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/10.43, allocations: 195.4 kB / 4.02 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/10.43, allocations: 2.983 MB / 4.023 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/10.44, allocations: 139.6 kB / 4.023 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/10.44, allocations: 27.98 kB / 4.023 GB, free: 137.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/10.44, allocations: 8 kB / 4.023 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/10.44, allocations: 1.116 MB / 4.024 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/10.44, allocations: 0 / 4.024 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/10.44, allocations: 69.06 kB / 4.024 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/10.44, allocations: 179.8 kB / 4.024 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/10.44, allocations: 1.807 MB / 4.026 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/10.44, allocations: 143.6 kB / 4.026 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/10.44, allocations: 24 kB / 4.026 GB, free: 133.8 MB / 0.948 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 () * 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.0002861/10.44, allocations: 165.8 kB / 4.026 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/10.44, allocations: 110.7 kB / 4.027 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/10.44, allocations: 1.223 MB / 4.028 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/10.44, allocations: 8 kB / 4.028 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/10.44, allocations: 4 kB / 4.028 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/10.45, allocations: 1.267 MB / 4.029 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/10.45, allocations: 2.866 MB / 4.032 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/10.45, allocations: 0 / 4.032 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/10.45, allocations: 254.8 kB / 4.032 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/10.45, allocations: 73.06 kB / 4.032 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/10.45, allocations: 27.95 kB / 4.032 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/10.45, allocations: 2.979 MB / 4.035 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/10.45, allocations: 12 kB / 4.035 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/10.46, allocations: 2.093 MB / 4.037 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009386/10.46, allocations: 335.6 kB / 4.037 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/10.46, allocations: 23.98 kB / 4.037 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/10.46, allocations: 115.7 kB / 4.038 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/10.46, allocations: 60.64 kB / 4.038 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/10.46, allocations: 31.98 kB / 4.038 GB, free: 121.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001443/10.46, allocations: 0.7126 MB / 4.038 GB, free: 121 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/10.46, allocations: 0 / 4.038 GB, free: 121 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003727/10.46, allocations: 0.8007 MB / 4.039 GB, free: 120.2 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 (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.005024/10.47, allocations: 4.445 MB / 4.043 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003119/10.47, allocations: 1.93 MB / 4.045 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/10.47, allocations: 3.75 kB / 4.045 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008925/10.47, allocations: 0.6862 MB / 4.046 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/10.48, allocations: 0.785 MB / 4.047 GB, free: 112.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/10.48, allocations: 3.112 MB / 4.05 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/10.49, allocations: 1.474 MB / 4.051 GB, free: 107.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003256/10.49, allocations: 1.036 MB / 4.052 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/10.49, allocations: 455.3 kB / 4.053 GB, free: 106 MB / 0.948 GB Notification: Performance of SimCode: time 2.265e-06/10.49, allocations: 0 / 4.053 GB, free: 106 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09681/10.59, allocations: 64.16 MB / 4.115 GB, free: 42.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/10.59, allocations: 267.4 kB / 4.116 GB, free: 41.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.057/14.64, allocations: 2.812 kB / 4.116 GB, free: 41.86 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)