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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",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.8828/0.8828, 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.001506/0.001506, allocations: 169.1 kB / 191.5 MB, free: 5.758 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.537/1.537, allocations: 223.2 MB / 447.7 MB, free: 4.766 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.0009638/0.0009638, allocations: 92.33 kB / 0.5187 GB, free: 1.121 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 279.2 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 13.81 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.66/12.86, allocations: 4.631 GB / 5.405 GB, free: 148 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/12.86, allocations: 94.45 kB / 5.405 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.914/14.77, allocations: 0.4931 GB / 5.898 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.995e-06/14.77, allocations: 0 / 5.898 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.942e-05/14.77, allocations: 29.84 kB / 5.898 GB, free: 147.3 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002894/14.78, allocations: 1.311 MB / 5.899 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/14.78, allocations: 7.625 kB / 5.899 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/14.78, allocations: 106.3 kB / 5.9 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/14.78, allocations: 375 kB / 5.9 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/14.78, allocations: 0.8847 MB / 5.901 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/14.78, allocations: 44.91 kB / 5.901 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/14.78, allocations: 67.17 kB / 5.901 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/14.78, allocations: 0.6111 MB / 5.901 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/14.78, allocations: 0 / 5.901 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/14.78, allocations: 29.25 kB / 5.901 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/14.78, allocations: 25.84 kB / 5.902 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/14.78, allocations: 0.5511 MB / 5.902 GB, free: 146.2 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.003526/14.79, allocations: 2.785 MB / 5.905 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/14.79, allocations: 460.5 kB / 5.905 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/14.79, allocations: 101.4 kB / 5.905 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/14.79, allocations: 41.16 kB / 5.905 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/14.79, allocations: 0 / 5.905 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63): time 0.008075/14.8, allocations: 3.136 MB / 5.908 GB, free: 144.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/14.8, allocations: 59.31 kB / 5.908 GB, free: 144 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/14.8, allocations: 0.5223 MB / 5.909 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/14.8, allocations: 39.7 kB / 5.909 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/14.8, allocations: 357.8 kB / 5.909 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/14.8, allocations: 227.1 kB / 5.91 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/14.8, allocations: 14.03 kB / 5.91 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000124/14.8, allocations: 381.5 kB / 5.91 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/14.8, allocations: 280.4 kB / 5.91 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/14.8, allocations: 390.8 kB / 5.911 GB, free: 143.2 MB / 0.7136 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.005975/14.8, allocations: 1.449 MB / 5.912 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/14.8, allocations: 0 / 5.912 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002914/14.81, allocations: 1.121 MB / 5.913 GB, free: 143 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000212/14.81, allocations: 0.6122 MB / 5.914 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/14.81, allocations: 3.969 kB / 5.914 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/14.81, allocations: 0.511 MB / 5.914 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/14.81, allocations: 91.27 kB / 5.914 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006945/14.82, allocations: 5.167 MB / 5.919 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/14.82, allocations: 68.3 kB / 5.919 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/14.82, allocations: 23.08 kB / 5.919 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/14.82, allocations: 8.094 kB / 5.919 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002385/14.82, allocations: 1.036 MB / 5.92 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/14.82, allocations: 3.438 kB / 5.92 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/14.82, allocations: 0.4986 MB / 5.921 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/14.82, allocations: 79.67 kB / 5.921 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/14.83, allocations: 4.587 MB / 5.925 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/14.83, allocations: 63.34 kB / 5.926 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/14.83, allocations: 22.5 kB / 5.926 GB, free: 138.9 MB / 0.7136 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. 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 () * Number of clocked 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.0006199/14.83, allocations: 354.9 kB / 5.926 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/14.83, allocations: 73.75 kB / 5.926 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/14.83, allocations: 1.118 MB / 5.927 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/14.83, allocations: 6.625 kB / 5.927 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/14.83, allocations: 0 / 5.927 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/14.84, allocations: 1.312 MB / 5.928 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/14.84, allocations: 2.387 MB / 5.931 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/14.84, allocations: 11.55 kB / 5.931 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/14.84, allocations: 68.17 kB / 5.931 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/14.84, allocations: 0.5013 MB / 5.931 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/14.84, allocations: 27.78 kB / 5.931 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/14.85, allocations: 4.92 MB / 5.936 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/14.85, allocations: 2.969 kB / 5.936 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/14.85, allocations: 1.55 MB / 5.938 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/14.85, allocations: 243.7 kB / 5.938 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/14.85, allocations: 24.2 kB / 5.938 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/14.85, allocations: 47.95 kB / 5.938 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/14.85, allocations: 54.27 kB / 5.938 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/14.85, allocations: 28.39 kB / 5.938 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005147/14.85, allocations: 420.1 kB / 5.938 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/14.85, allocations: 0 / 5.938 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002018/14.86, allocations: 0.5634 MB / 5.939 GB, free: 135.2 MB / 0.7136 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 () * Number of clocked 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.005131/14.86, allocations: 3.424 MB / 5.942 GB, free: 134 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003284/14.87, allocations: 1.695 MB / 5.944 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/14.87, allocations: 3.094 kB / 5.944 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/14.87, allocations: 0.6675 MB / 5.945 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/14.87, allocations: 464.6 kB / 5.945 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008321/14.88, allocations: 6.35 MB / 5.951 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/14.88, allocations: 1.071 MB / 5.952 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009337/14.88, allocations: 193.3 kB / 5.952 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/14.88, allocations: 277.4 kB / 5.953 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/14.88, allocations: 0 / 5.953 GB, free: 130.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07634/14.96, allocations: 48.67 MB / 6 GB, free: 115 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/14.96, allocations: 294.1 kB / 6.001 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/18.51, allocations: 2.25 kB / 6.001 GB, free: 114.7 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)