Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 289.9 MB / 297.4 MB, free: 6.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.00145/0.00145, allocations: 184.9 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 88.44 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.55e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7657, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.72/13.49, allocations: 4.882 GB / 5.856 GB, free: 194.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/13.49, allocations: 84.67 kB / 5.856 GB, free: 194.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/15.54, allocations: 495.2 MB / 6.339 GB, free: 71.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.315e-06/15.54, allocations: 0 / 6.339 GB, free: 71.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001612/15.54, allocations: 23.98 kB / 6.339 GB, free: 71.33 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004046/15.55, allocations: 1.173 MB / 6.34 GB, free: 70.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/15.55, allocations: 12.03 kB / 6.34 GB, free: 70.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/15.55, allocations: 370.4 kB / 6.341 GB, free: 69.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/15.55, allocations: 0.8819 MB / 6.342 GB, free: 68.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/15.55, allocations: 20.69 kB / 6.342 GB, free: 68.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/15.55, allocations: 40 kB / 6.342 GB, free: 68.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/15.55, allocations: 0.5102 MB / 6.342 GB, free: 68.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/15.55, allocations: 0.5155 MB / 6.343 GB, free: 67.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/15.55, allocations: 0 / 6.343 GB, free: 67.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/15.55, allocations: 0 / 6.343 GB, free: 67.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/15.55, allocations: 21.31 kB / 6.343 GB, free: 67.7 MB / 0.948 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.004035/15.56, allocations: 2.669 MB / 6.345 GB, free: 64.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/15.56, allocations: 434.2 kB / 6.346 GB, free: 64.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/15.56, allocations: 234.6 kB / 6.346 GB, free: 64.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/15.56, allocations: 93.47 kB / 6.346 GB, free: 64.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/15.56, allocations: 46.88 kB / 6.346 GB, free: 63.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 2.625e-06/15.56, allocations: 0 / 6.346 GB, free: 63.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.006915/15.57, allocations: 2.539 MB / 6.349 GB, free: 61.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/15.57, allocations: 59.97 kB / 6.349 GB, free: 61.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/15.57, allocations: 466.4 kB / 6.349 GB, free: 60.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/15.57, allocations: 29.7 kB / 6.349 GB, free: 60.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/15.57, allocations: 360.2 kB / 6.349 GB, free: 60.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/15.57, allocations: 216.7 kB / 6.35 GB, free: 60.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/15.57, allocations: 0 / 6.35 GB, free: 60.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/15.57, allocations: 374.8 kB / 6.35 GB, free: 59.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/15.57, allocations: 269.4 kB / 6.35 GB, free: 59.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/15.57, allocations: 372.9 kB / 6.351 GB, free: 59.18 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/15.57, allocations: 1.397 MB / 6.352 GB, free: 57.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/15.57, allocations: 0 / 6.352 GB, free: 57.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002651/15.58, allocations: 1.041 MB / 6.353 GB, free: 56.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/15.58, allocations: 0.6197 MB / 6.354 GB, free: 56.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/15.58, allocations: 0 / 6.354 GB, free: 56.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/15.58, allocations: 453.5 kB / 6.354 GB, free: 55.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/15.58, allocations: 83.89 kB / 6.354 GB, free: 55.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/15.58, allocations: 4.785 MB / 6.359 GB, free: 50.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/15.59, allocations: 51.8 kB / 6.359 GB, free: 50.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/15.59, allocations: 20.06 kB / 6.359 GB, free: 50.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/15.59, allocations: 5.25 kB / 6.359 GB, free: 50.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002078/15.59, allocations: 0.9388 MB / 6.36 GB, free: 49.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/15.59, allocations: 4 kB / 6.36 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/15.59, allocations: 457.6 kB / 6.36 GB, free: 49.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/15.59, allocations: 79.91 kB / 6.36 GB, free: 49.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/15.6, allocations: 4.195 MB / 6.364 GB, free: 44.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/15.6, allocations: 55.78 kB / 6.364 GB, free: 44.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/15.6, allocations: 20.06 kB / 6.364 GB, free: 44.66 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003321/15.6, allocations: 140.9 kB / 6.365 GB, free: 44.52 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002126/15.6, allocations: 0.9864 MB / 6.365 GB, free: 43.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/15.6, allocations: 75.16 kB / 6.366 GB, free: 43.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/15.6, allocations: 1.026 MB / 6.367 GB, free: 42.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/15.6, allocations: 11.95 kB / 6.367 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/15.6, allocations: 0 / 6.367 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00203/15.6, allocations: 1.255 MB / 6.368 GB, free: 41.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/15.61, allocations: 2.225 MB / 6.37 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/15.61, allocations: 0 / 6.37 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/15.61, allocations: 67.86 kB / 6.37 GB, free: 38.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/15.61, allocations: 477.2 kB / 6.371 GB, free: 38.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/15.61, allocations: 16.11 kB / 6.371 GB, free: 38.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/15.61, allocations: 4.569 MB / 6.375 GB, free: 33.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/15.61, allocations: 7.984 kB / 6.375 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/15.62, allocations: 1.48 MB / 6.376 GB, free: 31.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/15.62, allocations: 240.2 kB / 6.377 GB, free: 31.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/15.62, allocations: 8 kB / 6.377 GB, free: 31.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/15.62, allocations: 47.8 kB / 6.377 GB, free: 31.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/15.62, allocations: 56.38 kB / 6.377 GB, free: 31.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/15.62, allocations: 23.98 kB / 6.377 GB, free: 31.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000553/15.62, allocations: 354.9 kB / 6.377 GB, free: 31.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/15.62, allocations: 4 kB / 6.377 GB, free: 31.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002544/15.62, allocations: 0.5546 MB / 6.378 GB, free: 30.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005051/15.63, allocations: 3.488 MB / 6.381 GB, free: 27.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00313/15.63, allocations: 1.607 MB / 6.383 GB, free: 25.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/15.63, allocations: 8 kB / 6.383 GB, free: 25.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/15.63, allocations: 0.6275 MB / 6.383 GB, free: 24.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/15.63, allocations: 429.7 kB / 6.384 GB, free: 24.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/15.64, allocations: 1.668 MB / 6.385 GB, free: 22.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/15.64, allocations: 1.081 MB / 6.386 GB, free: 21.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009843/15.64, allocations: 234.1 kB / 6.387 GB, free: 21.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/15.64, allocations: 259.3 kB / 6.387 GB, free: 21.12 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/15.64, allocations: 0 / 6.387 GB, free: 21.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7955/16.43, allocations: 38.18 MB / 6.424 GB, free: 211 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/16.43, allocations: 206.8 kB / 6.424 GB, free: 210.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.557/19.99, allocations: 6.438 kB / 6.424 GB, free: 210.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)