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.8797/0.8797, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.0009986/0.0009987, allocations: 187.9 kB / 182.2 MB, free: 9.449 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.483/1.483, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009014/0.0009014, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 281.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.136e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.518, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.477/1.995, allocations: 0.5734 GB / 1.331 GB, free: 98.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.996, allocations: 86.08 kB / 1.331 GB, free: 98.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7097/2.705, allocations: 163.6 MB / 1.491 GB, free: 219.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/2.705, allocations: 0 / 1.491 GB, free: 219.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.357e-05/2.705, allocations: 19.62 kB / 1.491 GB, free: 219.8 MB / 0.698 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.001475/2.707, allocations: 0.9472 MB / 1.492 GB, free: 219.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/2.707, allocations: 7.719 kB / 1.492 GB, free: 219.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/2.709, allocations: 277.3 kB / 1.492 GB, free: 219.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/2.71, allocations: 0.6747 MB / 1.493 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/2.71, allocations: 18.41 kB / 1.493 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/2.71, allocations: 25.59 kB / 1.493 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004841/2.711, allocations: 293 kB / 1.493 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/2.711, allocations: 452 kB / 1.493 GB, free: 218.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/2.711, allocations: 0 / 1.493 GB, free: 218.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/2.712, allocations: 0 / 1.493 GB, free: 218.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/2.712, allocations: 14.52 kB / 1.493 GB, free: 218.3 MB / 0.698 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.002191/2.714, allocations: 2.693 MB / 1.496 GB, free: 216.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/2.714, allocations: 276.6 kB / 1.496 GB, free: 216 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/2.714, allocations: 129.3 kB / 1.496 GB, free: 215.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/2.715, allocations: 0.6629 MB / 1.497 GB, free: 215.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/2.715, allocations: 37.73 kB / 1.497 GB, free: 215.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/2.715, allocations: 0 / 1.497 GB, free: 215.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.004483/2.719, allocations: 1.647 MB / 1.499 GB, free: 214.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/2.719, allocations: 80.67 kB / 1.499 GB, free: 214.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/2.72, allocations: 408.8 kB / 1.499 GB, free: 214 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/2.72, allocations: 25.7 kB / 1.499 GB, free: 214 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/2.72, allocations: 325.6 kB / 1.499 GB, free: 213.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/2.72, allocations: 135 kB / 1.5 GB, free: 213.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/2.72, allocations: 0 / 1.5 GB, free: 213.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/2.72, allocations: 368.1 kB / 1.5 GB, free: 213.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/2.72, allocations: 141.8 kB / 1.5 GB, free: 213.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/2.72, allocations: 264.7 kB / 1.5 GB, free: 213 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/2.721, allocations: 199.6 kB / 1.501 GB, free: 212.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.721, allocations: 0 / 1.501 GB, free: 212.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001386/2.722, allocations: 0.6633 MB / 1.501 GB, free: 212.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/2.722, allocations: 1.219 MB / 1.502 GB, free: 211.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/2.723, allocations: 3.625 kB / 1.502 GB, free: 211.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/2.723, allocations: 261.7 kB / 1.503 GB, free: 211.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/2.724, allocations: 65.95 kB / 1.503 GB, free: 211.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/2.728, allocations: 4.005 MB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/2.729, allocations: 75.22 kB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/2.729, allocations: 20.31 kB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/2.729, allocations: 5.125 kB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/2.73, allocations: 0.5784 MB / 1.507 GB, free: 207.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/2.73, allocations: 3.75 kB / 1.507 GB, free: 207.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/2.731, allocations: 263.3 kB / 1.508 GB, free: 207.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/2.731, allocations: 68.25 kB / 1.508 GB, free: 207.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/2.735, allocations: 3.989 MB / 1.511 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/2.737, allocations: 73.11 kB / 1.512 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/2.737, allocations: 21.97 kB / 1.512 GB, free: 204.4 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real 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 () * 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.0002556/2.737, allocations: 125.9 kB / 1.512 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001478/2.738, allocations: 0.584 MB / 1.512 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/2.738, allocations: 59.3 kB / 1.512 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/2.74, allocations: 0.6115 MB / 1.513 GB, free: 203.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/2.74, allocations: 7.953 kB / 1.513 GB, free: 203.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/2.74, allocations: 0 / 1.513 GB, free: 203.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/2.741, allocations: 0.6814 MB / 1.514 GB, free: 202.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/2.744, allocations: 1.568 MB / 1.515 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.744, allocations: 3.891 kB / 1.515 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/2.744, allocations: 59.2 kB / 1.515 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007882/2.745, allocations: 234 kB / 1.515 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/2.745, allocations: 15.8 kB / 1.515 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/2.749, allocations: 3.723 MB / 1.519 GB, free: 197.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.749, allocations: 4.062 kB / 1.519 GB, free: 197.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/2.751, allocations: 0.8732 MB / 1.52 GB, free: 196.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/2.751, allocations: 192.3 kB / 1.52 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/2.751, allocations: 7.984 kB / 1.52 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/2.752, allocations: 63.92 kB / 1.52 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/2.752, allocations: 27.95 kB / 1.52 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/2.752, allocations: 19.98 kB / 1.52 GB, free: 196.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000373/2.752, allocations: 307 kB / 1.521 GB, free: 195.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.752, allocations: 0 / 1.521 GB, free: 195.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001879/2.754, allocations: 451.8 kB / 1.521 GB, free: 195.4 MB / 0.698 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 () * 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.002317/2.757, allocations: 1.703 MB / 1.523 GB, free: 193.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002394/2.759, allocations: 1.243 MB / 1.524 GB, free: 192.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.759, allocations: 0 / 1.524 GB, free: 192.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/2.76, allocations: 0.5072 MB / 1.524 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/2.762, allocations: 325.6 kB / 1.525 GB, free: 191.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/2.764, allocations: 1.039 MB / 1.526 GB, free: 190.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/2.764, allocations: 0.9352 MB / 1.527 GB, free: 189.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007361/2.765, allocations: 160.8 kB / 1.527 GB, free: 189.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/2.765, allocations: 207.4 kB / 1.527 GB, free: 189.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/2.765, allocations: 0 / 1.527 GB, free: 189.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/2.807, allocations: 21.88 MB / 1.548 GB, free: 167.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/2.808, allocations: 240.3 kB / 1.548 GB, free: 167.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/5.779, allocations: 0 / 1.548 GB, free: 167.3 MB / 0.698 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)