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.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001421/0.001421, allocations: 179.6 kB / 371.8 MB, free: 10.29 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.972/1.972, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 90.52 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006623/0.0006618, allocations: 11.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3198, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.076/7.396, allocations: 2.325 GB / 3.305 GB, free: 346.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/7.396, allocations: 102.4 kB / 3.305 GB, free: 346.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.689/9.085, allocations: 478.7 MB / 3.772 GB, free: 245.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.985e-06/9.085, allocations: 0 / 3.772 GB, free: 245.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000136/9.085, allocations: 34.22 kB / 3.772 GB, free: 245.2 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.004802/9.09, allocations: 1.76 MB / 3.774 GB, free: 244.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/9.09, allocations: 10.19 kB / 3.774 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/9.09, allocations: 162.9 kB / 3.774 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/9.093, allocations: 487 kB / 3.774 GB, free: 243.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/9.097, allocations: 1.303 MB / 3.776 GB, free: 242.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/9.097, allocations: 80.38 kB / 3.776 GB, free: 242.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/9.097, allocations: 104.6 kB / 3.776 GB, free: 242.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/9.099, allocations: 1.237 MB / 3.777 GB, free: 242.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/9.099, allocations: 6.562 kB / 3.777 GB, free: 242.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/9.1, allocations: 39.44 kB / 3.777 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/9.1, allocations: 40.11 kB / 3.777 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/9.101, allocations: 1.177 MB / 3.778 GB, free: 241.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.006878/9.108, allocations: 4.861 MB / 3.783 GB, free: 237.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/9.109, allocations: 0.9743 MB / 3.784 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/9.11, allocations: 198.6 kB / 3.784 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/9.11, allocations: 46.62 kB / 3.784 GB, free: 237 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.797e-06/9.11, allocations: 3.875 kB / 3.784 GB, free: 237 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.00543/9.115, allocations: 2.951 MB / 3.787 GB, free: 235.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/9.115, allocations: 59.75 kB / 3.787 GB, free: 235.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/9.116, allocations: 0.8476 MB / 3.788 GB, free: 234.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/9.116, allocations: 49.42 kB / 3.788 GB, free: 234.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/9.117, allocations: 0.5326 MB / 3.789 GB, free: 234.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/9.117, allocations: 288.7 kB / 3.789 GB, free: 234.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/9.117, allocations: 12 kB / 3.789 GB, free: 234.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/9.117, allocations: 341.5 kB / 3.789 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/9.118, allocations: 434.2 kB / 3.79 GB, free: 233.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/9.118, allocations: 0.6082 MB / 3.79 GB, free: 233.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/9.119, allocations: 0.5433 MB / 3.791 GB, free: 232.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/9.119, allocations: 0 / 3.791 GB, free: 232.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00162/9.121, allocations: 1.238 MB / 3.792 GB, free: 232.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002533/9.121, allocations: 1.055 MB / 3.793 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/9.121, allocations: 7.719 kB / 3.793 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/9.121, allocations: 70.28 kB / 3.793 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009282/9.122, allocations: 191.6 kB / 3.793 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/9.124, allocations: 3.003 MB / 3.796 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/9.126, allocations: 148.3 kB / 3.796 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/9.126, allocations: 30.31 kB / 3.796 GB, free: 228 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/9.126, allocations: 3.844 kB / 3.796 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/9.127, allocations: 1.114 MB / 3.797 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/9.127, allocations: 3.969 kB / 3.797 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/9.128, allocations: 72.77 kB / 3.798 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/9.128, allocations: 170.2 kB / 3.798 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/9.13, allocations: 1.84 MB / 3.799 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/9.131, allocations: 142.4 kB / 3.8 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/9.131, allocations: 35.75 kB / 3.8 GB, free: 225.6 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.001131/9.133, allocations: 0.5986 MB / 3.8 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/9.133, allocations: 108 kB / 3.8 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/9.135, allocations: 1.184 MB / 3.801 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/9.135, allocations: 15.45 kB / 3.802 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/9.135, allocations: 0 / 3.802 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/9.136, allocations: 1.233 MB / 3.803 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/9.141, allocations: 2.788 MB / 3.805 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/9.141, allocations: 0 / 3.805 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/9.142, allocations: 249 kB / 3.806 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/9.142, allocations: 65.19 kB / 3.806 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/9.142, allocations: 31.98 kB / 3.806 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/9.144, allocations: 3 MB / 3.809 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/9.144, allocations: 4 kB / 3.809 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/9.146, allocations: 2.026 MB / 3.811 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/9.147, allocations: 319.8 kB / 3.811 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/9.147, allocations: 23.98 kB / 3.811 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/9.148, allocations: 120.8 kB / 3.811 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/9.148, allocations: 56.47 kB / 3.811 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/9.149, allocations: 28 kB / 3.811 GB, free: 215.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008796/9.149, allocations: 0.6757 MB / 3.812 GB, free: 214.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.149, allocations: 0 / 3.812 GB, free: 214.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002588/9.152, allocations: 0.7927 MB / 3.813 GB, free: 214.1 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.004627/9.157, allocations: 4.374 MB / 3.817 GB, free: 210 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002722/9.159, allocations: 1.863 MB / 3.819 GB, free: 208.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/9.159, allocations: 0 / 3.819 GB, free: 208.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/9.16, allocations: 0.662 MB / 3.819 GB, free: 207.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/9.164, allocations: 0.7931 MB / 3.82 GB, free: 206.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/9.178, allocations: 10.16 MB / 3.83 GB, free: 196.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/9.179, allocations: 1.44 MB / 3.831 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002053/9.181, allocations: 0.683 MB / 3.832 GB, free: 194.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/9.182, allocations: 451.3 kB / 3.833 GB, free: 193.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/9.182, allocations: 0 / 3.833 GB, free: 193.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08779/9.269, allocations: 58.12 MB / 3.889 GB, free: 136.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/9.27, allocations: 281.2 kB / 3.89 GB, free: 136 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/13.39, allocations: 3.656 kB / 3.89 GB, free: 136 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)