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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8324/0.8324, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001113/0.001113, allocations: 171.8 kB / 182.2 MB, free: 9.48 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.669/1.669, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.001092/0.001092, allocations: 84.17 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 278.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.674e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/2.234, allocations: 0.5734 GB / 1.331 GB, free: 99.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/2.234, allocations: 91.62 kB / 1.331 GB, free: 98.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8151/3.05, allocations: 163.6 MB / 1.491 GB, free: 220 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/3.05, allocations: 0 / 1.491 GB, free: 220 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.384e-05/3.05, allocations: 19.06 kB / 1.491 GB, free: 220 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.002073/3.052, allocations: 0.933 MB / 1.492 GB, free: 219.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/3.052, allocations: 14.69 kB / 1.492 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/3.055, allocations: 268.8 kB / 1.492 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/3.057, allocations: 0.6813 MB / 1.493 GB, free: 218.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/3.057, allocations: 12.34 kB / 1.493 GB, free: 218.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/3.057, allocations: 33.86 kB / 1.493 GB, free: 218.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007282/3.057, allocations: 292.5 kB / 1.493 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/3.058, allocations: 448.3 kB / 1.493 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/3.058, allocations: 0 / 1.493 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/3.058, allocations: 0 / 1.493 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/3.058, allocations: 14.66 kB / 1.493 GB, free: 218.5 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.003645/3.062, allocations: 2.698 MB / 1.496 GB, free: 216.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/3.063, allocations: 278.7 kB / 1.496 GB, free: 216.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/3.063, allocations: 124.9 kB / 1.496 GB, free: 216.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/3.063, allocations: 0.6596 MB / 1.497 GB, free: 215.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/3.063, allocations: 38.83 kB / 1.497 GB, free: 215.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/3.063, allocations: 3.25 kB / 1.497 GB, free: 215.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.00493/3.068, allocations: 1.654 MB / 1.499 GB, free: 214.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/3.068, allocations: 81.08 kB / 1.499 GB, free: 214.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/3.069, allocations: 405.1 kB / 1.499 GB, free: 214.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/3.069, allocations: 25.7 kB / 1.499 GB, free: 214.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/3.069, allocations: 322.1 kB / 1.499 GB, free: 213.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/3.069, allocations: 139.3 kB / 1.5 GB, free: 213.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/3.069, allocations: 0 / 1.5 GB, free: 213.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/3.069, allocations: 363 kB / 1.5 GB, free: 213.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/3.069, allocations: 148.4 kB / 1.5 GB, free: 213.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/3.07, allocations: 263 kB / 1.5 GB, free: 213.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/3.07, allocations: 193.8 kB / 1.5 GB, free: 213.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/3.07, allocations: 0 / 1.5 GB, free: 213.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001429/3.071, allocations: 0.6671 MB / 1.501 GB, free: 212.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/3.072, allocations: 1.221 MB / 1.502 GB, free: 211.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/3.072, allocations: 1.641 kB / 1.502 GB, free: 211.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008592/3.073, allocations: 264.5 kB / 1.503 GB, free: 211.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/3.073, allocations: 62.66 kB / 1.503 GB, free: 211.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/3.077, allocations: 4 MB / 1.507 GB, free: 208.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/3.078, allocations: 77.36 kB / 1.507 GB, free: 208.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/3.078, allocations: 22.94 kB / 1.507 GB, free: 208.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/3.078, allocations: 4.5 kB / 1.507 GB, free: 208.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/3.08, allocations: 0.5862 MB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/3.08, allocations: 7.875 kB / 1.507 GB, free: 208 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/3.081, allocations: 255.7 kB / 1.507 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/3.081, allocations: 68 kB / 1.508 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/3.085, allocations: 3.994 MB / 1.511 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/3.086, allocations: 73.39 kB / 1.511 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/3.086, allocations: 23.31 kB / 1.511 GB, free: 204.6 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.0002202/3.086, allocations: 130.3 kB / 1.512 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/3.087, allocations: 64.58 kB / 1.512 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/3.088, allocations: 0.6003 MB / 1.512 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/3.088, allocations: 4 kB / 1.512 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/3.088, allocations: 0 / 1.512 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/3.09, allocations: 0.7044 MB / 1.513 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/3.092, allocations: 1.557 MB / 1.514 GB, free: 202 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/3.092, allocations: 0 / 1.514 GB, free: 202 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/3.093, allocations: 47.31 kB / 1.515 GB, free: 202 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/3.093, allocations: 239.2 kB / 1.515 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/3.093, allocations: 3.469 kB / 1.515 GB, free: 201.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/3.097, allocations: 3.729 MB / 1.518 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/3.097, allocations: 7.969 kB / 1.518 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/3.099, allocations: 0.8816 MB / 1.519 GB, free: 197.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/3.099, allocations: 188.4 kB / 1.519 GB, free: 197 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/3.099, allocations: 0 / 1.519 GB, free: 197 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/3.1, allocations: 67.83 kB / 1.52 GB, free: 197 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/3.101, allocations: 35.89 kB / 1.52 GB, free: 196.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/3.101, allocations: 15.98 kB / 1.52 GB, free: 196.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004121/3.101, allocations: 310.9 kB / 1.52 GB, free: 196.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.101, allocations: 0 / 1.52 GB, free: 196.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002122/3.103, allocations: 443.9 kB / 1.52 GB, free: 196.2 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.0008044/3.104, allocations: 325.2 kB / 1.521 GB, free: 195.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00257/3.107, allocations: 1.243 MB / 1.522 GB, free: 194.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/3.107, allocations: 0 / 1.522 GB, free: 194.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/3.108, allocations: 0.4995 MB / 1.522 GB, free: 194.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/3.109, allocations: 325.5 kB / 1.523 GB, free: 193.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/3.111, allocations: 0.8813 MB / 1.523 GB, free: 192.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/3.112, allocations: 0.9352 MB / 1.524 GB, free: 191.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000943/3.113, allocations: 164.8 kB / 1.525 GB, free: 191.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/3.113, allocations: 43.42 kB / 1.525 GB, free: 191.7 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/3.113, allocations: 0 / 1.525 GB, free: 191.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02657/3.139, allocations: 16.86 MB / 1.541 GB, free: 175.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)