Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.451/1.451, allocations: 287.4 MB / 302.6 MB, free: 8.359 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.0008377/0.0008378, allocations: 187.9 kB / 371.1 MB, free: 10.83 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.18/1.18, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.000648/0.0006479, allocations: 89.3 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 11.09 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01295/0.1546, allocations: 21.45 MB / 0.9997 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005505/0.1601, allocations: 6.35 MB / 1.006 GB, free: 208 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.1605, allocations: 23.81 kB / 1.006 GB, free: 184 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.1611, allocations: 226.5 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.1625, allocations: 0.7229 MB / 1.007 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1639, allocations: 0.6093 MB / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.1671, allocations: 3.944 MB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.1682, allocations: 1.062 MB / 1.012 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.1693, allocations: 0.9452 MB / 1.013 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.1701, allocations: 0.84 MB / 1.014 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.1702, allocations: 36 kB / 1.014 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1712, allocations: 0.5887 MB / 1.015 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1714, allocations: 207.1 kB / 1.015 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1716, allocations: 245.1 kB / 1.015 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1728, allocations: 1.418 MB / 1.016 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1728, allocations: 0 / 1.016 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1728, allocations: 4 kB / 1.016 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.1728, allocations: 0 / 1.016 GB, free: 5.305 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001547/0.1744, allocations: 1.293 MB / 1.018 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1744, allocations: 8.031 kB / 1.018 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.1745, allocations: 126.7 kB / 1.018 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1749, allocations: 143.4 kB / 1.018 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.1764, allocations: 1.173 MB / 1.019 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.1765, allocations: 57.98 kB / 1.019 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1766, allocations: 76 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1779, allocations: 1.037 MB / 1.02 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1779, allocations: 3.906 kB / 1.02 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.178, allocations: 36 kB / 1.02 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.1781, allocations: 20 kB / 1.02 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1791, allocations: 0.757 MB / 1.021 GB, free: 440 kB / 0.6355 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.003984/0.1831, allocations: 4.608 MB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1835, allocations: 388.6 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.1838, allocations: 257.3 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.1842, allocations: 433.8 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1842, allocations: 42.88 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.1842, allocations: 0 / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001506/0.1857, allocations: 0.8672 MB / 1.028 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1857, allocations: 59.41 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008949/0.1866, allocations: 0.8918 MB / 1.028 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1867, allocations: 37.7 kB / 1.028 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.187, allocations: 0.495 MB / 1.029 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1871, allocations: 149.9 kB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.1872, allocations: 8 kB / 1.029 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1873, allocations: 333.9 kB / 1.029 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.1875, allocations: 221 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.188, allocations: 438.6 kB / 1.03 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.1887, allocations: 0.6668 MB / 1.031 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1887, allocations: 0 / 1.031 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00113/0.1898, allocations: 0.7981 MB / 1.032 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.1899, allocations: 249.5 kB / 1.032 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.19, allocations: 8 kB / 1.032 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.1903, allocations: 84.8 kB / 1.032 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1907, allocations: 115.8 kB / 1.032 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003959/0.1911, allocations: 0.6303 MB / 1.033 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.1916, allocations: 119.2 kB / 1.033 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.1917, allocations: 24.08 kB / 1.033 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-06/0.1917, allocations: 4 kB / 1.033 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008863/0.1926, allocations: 0.6833 MB / 1.033 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1926, allocations: 4 kB / 1.033 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.1928, allocations: 68.75 kB / 1.033 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1931, allocations: 112.3 kB / 1.034 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.1944, allocations: 1.716 MB / 1.035 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1949, allocations: 99.45 kB / 1.035 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.195, allocations: 24 kB / 1.035 GB, free: 0.8906 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.1954, allocations: 484.7 kB / 1.036 GB, free: 416 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1955, allocations: 86.97 kB / 1.036 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/0.1964, allocations: 0.6454 MB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1964, allocations: 7.984 kB / 1.037 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1964, allocations: 4 kB / 1.037 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007388/0.1972, allocations: 0.8165 MB / 1.037 GB, free: 14.75 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.001982/0.1992, allocations: 1.68 MB / 1.039 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1992, allocations: 4 kB / 1.039 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1995, allocations: 79.89 kB / 1.039 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.674e-05/0.1996, allocations: 44.89 kB / 1.039 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.1996, allocations: 8 kB / 1.039 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/0.1999, allocations: 0.5718 MB / 1.04 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1999, allocations: 0 / 1.04 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.201, allocations: 0.9372 MB / 1.041 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.2013, allocations: 263.9 kB / 1.041 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.2014, allocations: 11.98 kB / 1.041 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.2019, allocations: 81.59 kB / 1.041 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.2019, allocations: 28.09 kB / 1.041 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.202, allocations: 23.98 kB / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006542/0.2026, allocations: 0.6239 MB / 1.042 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2e-07/0.2026, allocations: 0 / 1.042 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001217/0.2039, allocations: 0.5573 MB / 1.042 GB, free: 9.688 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.2054, allocations: 1.65 MB / 1.044 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.2067, allocations: 0.9993 MB / 1.045 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2068, allocations: 4 kB / 1.045 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.2071, allocations: 239.8 kB / 1.045 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.2094, allocations: 0.5579 MB / 1.045 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/0.2174, allocations: 6.087 MB / 1.051 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.2181, allocations: 1.22 MB / 1.053 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001012/0.2191, allocations: 444.6 kB / 1.053 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.2195, allocations: 359.3 kB / 1.053 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.2195, allocations: 0 / 1.053 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/1.231, allocations: 28.24 MB / 1.081 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.231, allocations: 286.5 kB / 1.081 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.043, allocations: 2.531 kB / 1.081 GB, free: 81.1 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)