Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001075/0.001075, allocations: 180.9 kB / 182.2 MB, free: 9.465 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.698/1.698, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009636/0.0009635, allocations: 100 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.001867/0.001867, allocations: 273.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.422e-05, allocations: 8 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4899, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.82/12.31, allocations: 4.63 GB / 5.388 GB, free: 177.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/12.31, allocations: 91.83 kB / 5.388 GB, free: 177.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.001/14.31, allocations: 499 MB / 5.875 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/14.31, allocations: 0 / 5.875 GB, free: 146.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001528/14.31, allocations: 25.7 kB / 5.875 GB, free: 146.1 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003901/14.32, allocations: 1.17 MB / 5.876 GB, free: 145.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/14.32, allocations: 18.06 kB / 5.876 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/14.32, allocations: 372.7 kB / 5.877 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/14.32, allocations: 0.8634 MB / 5.878 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/14.32, allocations: 18.28 kB / 5.878 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/14.32, allocations: 43.72 kB / 5.878 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/14.32, allocations: 0.5185 MB / 5.878 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/14.32, allocations: 0.5089 MB / 5.879 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/14.33, allocations: 4 kB / 5.879 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/14.33, allocations: 0 / 5.879 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/14.33, allocations: 24.03 kB / 5.879 GB, free: 145.1 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.004851/14.33, allocations: 2.674 MB / 5.881 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/14.33, allocations: 430.9 kB / 5.882 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/14.33, allocations: 238.7 kB / 5.882 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/14.33, allocations: 94.84 kB / 5.882 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/14.33, allocations: 45.58 kB / 5.882 GB, free: 143.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.295e-06/14.33, allocations: 0 / 5.882 GB, free: 143.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.00842/14.34, allocations: 2.542 MB / 5.885 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/14.34, allocations: 59.44 kB / 5.885 GB, free: 143.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/14.34, allocations: 459.9 kB / 5.885 GB, free: 143 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/14.34, allocations: 31.48 kB / 5.885 GB, free: 143 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/14.34, allocations: 365.4 kB / 5.885 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/14.34, allocations: 215.4 kB / 5.886 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/14.34, allocations: 0 / 5.886 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001975/14.34, allocations: 376.5 kB / 5.886 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/14.34, allocations: 261.7 kB / 5.886 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/14.34, allocations: 373.9 kB / 5.887 GB, free: 142.3 MB / 0.698 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.005515/14.35, allocations: 1.397 MB / 5.888 GB, free: 142.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/14.35, allocations: 3.172 kB / 5.888 GB, free: 142.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002719/14.35, allocations: 1.041 MB / 5.889 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/14.35, allocations: 0.6173 MB / 5.89 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/14.35, allocations: 3.719 kB / 5.89 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/14.35, allocations: 451.2 kB / 5.89 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/14.35, allocations: 88.44 kB / 5.89 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006887/14.36, allocations: 4.795 MB / 5.895 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/14.36, allocations: 49.14 kB / 5.895 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/14.36, allocations: 20.09 kB / 5.895 GB, free: 139.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/14.36, allocations: 3 kB / 5.895 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002698/14.36, allocations: 0.9429 MB / 5.896 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/14.36, allocations: 0 / 5.896 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/14.37, allocations: 452.2 kB / 5.896 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/14.37, allocations: 76.64 kB / 5.896 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/14.37, allocations: 4.206 MB / 5.9 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/14.37, allocations: 46.77 kB / 5.9 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/14.37, allocations: 27.09 kB / 5.9 GB, free: 138.1 MB / 0.698 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.0004651/14.38, allocations: 123.9 kB / 5.901 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/14.38, allocations: 77.36 kB / 5.901 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/14.38, allocations: 1.038 MB / 5.902 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/14.38, allocations: 7.781 kB / 5.902 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/14.38, allocations: 0 / 5.902 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002317/14.38, allocations: 1.245 MB / 5.903 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/14.39, allocations: 2.224 MB / 5.905 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/14.39, allocations: 3.688 kB / 5.905 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/14.39, allocations: 74.69 kB / 5.905 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/14.39, allocations: 471.7 kB / 5.906 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/14.39, allocations: 13.06 kB / 5.906 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/14.4, allocations: 4.576 MB / 5.91 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/14.4, allocations: 0 / 5.91 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/14.4, allocations: 1.477 MB / 5.911 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/14.4, allocations: 237.1 kB / 5.912 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/14.4, allocations: 13.64 kB / 5.912 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/14.4, allocations: 45.19 kB / 5.912 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/14.4, allocations: 50.97 kB / 5.912 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/14.4, allocations: 36.44 kB / 5.912 GB, free: 134.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007217/14.4, allocations: 364.4 kB / 5.912 GB, free: 134.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/14.4, allocations: 0 / 5.912 GB, free: 134.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003368/14.41, allocations: 0.5457 MB / 5.913 GB, free: 134.6 MB / 0.698 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.002697/14.41, allocations: 1.357 MB / 5.914 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003722/14.41, allocations: 1.619 MB / 5.916 GB, free: 134 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/14.41, allocations: 0 / 5.916 GB, free: 134 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/14.41, allocations: 0.6247 MB / 5.916 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/14.42, allocations: 439.7 kB / 5.917 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/14.42, allocations: 1.476 MB / 5.918 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008207/14.42, allocations: 1.08 MB / 5.919 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001453/14.42, allocations: 240.1 kB / 5.919 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/14.42, allocations: 43.81 kB / 5.919 GB, free: 132.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.783e-06/14.42, allocations: 0 / 5.919 GB, free: 132.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04924/14.47, allocations: 29.43 MB / 5.948 GB, free: 131.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)