Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7981/0.7981, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 187 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 223.2 MB / 447.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 104.2 kB / 0.5187 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002722/0.002722, allocations: 265.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005031, allocations: 17.08 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1936, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.586/1.779, allocations: 0.5741 GB / 1.348 GB, free: 77.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.78, allocations: 97.44 kB / 1.348 GB, free: 77.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.8546/2.634, allocations: 168.2 MB / 1.512 GB, free: 220.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/2.634, allocations: 0 / 1.512 GB, free: 220.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001088/2.635, allocations: 20.64 kB / 1.512 GB, free: 220.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002865/2.637, allocations: 1.055 MB / 1.513 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/2.638, allocations: 15.77 kB / 1.513 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/2.638, allocations: 85.38 kB / 1.513 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/2.64, allocations: 275.8 kB / 1.514 GB, free: 219.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/2.642, allocations: 0.7155 MB / 1.514 GB, free: 218.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/2.642, allocations: 29 kB / 1.514 GB, free: 218.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/2.642, allocations: 48 kB / 1.514 GB, free: 218.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/2.643, allocations: 0.5048 MB / 1.515 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/2.643, allocations: 7.938 kB / 1.515 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/2.643, allocations: 16 kB / 1.515 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/2.643, allocations: 12 kB / 1.515 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/2.644, allocations: 339.7 kB / 1.515 GB, free: 217.5 MB / 0.7136 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.0032/2.647, allocations: 2.797 MB / 1.518 GB, free: 214.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/2.648, allocations: 303.4 kB / 1.518 GB, free: 214.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/2.648, allocations: 0.6651 MB / 1.519 GB, free: 213.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/2.648, allocations: 34.8 kB / 1.519 GB, free: 213.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/2.648, allocations: 0 / 1.519 GB, free: 213.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.007072/2.655, allocations: 2.201 MB / 1.521 GB, free: 211.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/2.656, allocations: 81.11 kB / 1.521 GB, free: 211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/2.656, allocations: 450.1 kB / 1.522 GB, free: 210.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/2.656, allocations: 37.7 kB / 1.522 GB, free: 210.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/2.656, allocations: 323 kB / 1.522 GB, free: 210.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/2.657, allocations: 141.1 kB / 1.522 GB, free: 210 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/2.657, allocations: 12 kB / 1.522 GB, free: 210 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001142/2.657, allocations: 366.7 kB / 1.523 GB, free: 209.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/2.657, allocations: 165 kB / 1.523 GB, free: 209.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/2.657, allocations: 296 kB / 1.523 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/2.658, allocations: 203.5 kB / 1.523 GB, free: 209 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/2.658, allocations: 0 / 1.523 GB, free: 209 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00164/2.66, allocations: 0.7282 MB / 1.524 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003885/2.66, allocations: 1.234 MB / 1.525 GB, free: 206.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.66, allocations: 4 kB / 1.525 GB, free: 206.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/2.661, allocations: 277.5 kB / 1.525 GB, free: 206.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/2.661, allocations: 63.91 kB / 1.525 GB, free: 206.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/2.667, allocations: 4.423 MB / 1.53 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/2.668, allocations: 87.7 kB / 1.53 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/2.668, allocations: 23.98 kB / 1.53 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/2.669, allocations: 4 kB / 1.53 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/2.67, allocations: 0.6532 MB / 1.53 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/2.67, allocations: 4 kB / 1.53 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/2.671, allocations: 276.8 kB / 1.531 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/2.671, allocations: 71.84 kB / 1.531 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/2.677, allocations: 4.415 MB / 1.535 GB, free: 196.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/2.678, allocations: 79.83 kB / 1.535 GB, free: 196 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/2.678, allocations: 19.98 kB / 1.535 GB, free: 196 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004851/2.679, allocations: 281 kB / 1.535 GB, free: 195.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/2.679, allocations: 55.34 kB / 1.536 GB, free: 195.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/2.681, allocations: 0.6644 MB / 1.536 GB, free: 194.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/2.681, allocations: 7.938 kB / 1.536 GB, free: 194.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/2.681, allocations: 7.984 kB / 1.536 GB, free: 194.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/2.682, allocations: 0.737 MB / 1.537 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/2.685, allocations: 1.692 MB / 1.539 GB, free: 192.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/2.685, allocations: 8.031 kB / 1.539 GB, free: 192.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/2.686, allocations: 51.91 kB / 1.539 GB, free: 192.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008792/2.686, allocations: 245.4 kB / 1.539 GB, free: 192.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/2.686, allocations: 11.98 kB / 1.539 GB, free: 192.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/2.691, allocations: 4.005 MB / 1.543 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.691, allocations: 3.953 kB / 1.543 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/2.693, allocations: 0.9444 MB / 1.544 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/2.694, allocations: 184.3 kB / 1.544 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/2.694, allocations: 15.98 kB / 1.544 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/2.695, allocations: 71.92 kB / 1.544 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/2.695, allocations: 31.95 kB / 1.544 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/2.695, allocations: 19.98 kB / 1.544 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006122/2.696, allocations: 358.8 kB / 1.544 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/2.696, allocations: 0 / 1.544 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002094/2.698, allocations: 439.8 kB / 1.545 GB, free: 185.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * 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 (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002837/2.701, allocations: 1.779 MB / 1.546 GB, free: 183.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002911/2.704, allocations: 1.362 MB / 1.548 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.704, allocations: 320 / 1.548 GB, free: 182.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/2.705, allocations: 0.5439 MB / 1.548 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/2.707, allocations: 344 kB / 1.549 GB, free: 181.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/2.714, allocations: 5.762 MB / 1.554 GB, free: 175.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/2.715, allocations: 0.9379 MB / 1.555 GB, free: 174.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007168/2.716, allocations: 133.2 kB / 1.555 GB, free: 174.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/2.716, allocations: 211.4 kB / 1.556 GB, free: 174.4 MB / 0.7136 GB Notification: Performance of SimCode: time 2.585e-06/2.716, allocations: 4 kB / 1.556 GB, free: 174.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/2.763, allocations: 23.15 MB / 1.578 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/2.763, allocations: 309.5 kB / 1.578 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/5.644, allocations: 1.875 kB / 1.578 GB, free: 151.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)