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.7073/0.7073, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 180.5 kB / 187.3 MB, free: 11.88 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.217/1.217, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008628/0.0008629, allocations: 96.48 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001619/0.001619, allocations: 256.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.719e-05, allocations: 11.94 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.864/9.195, allocations: 4.631 GB / 5.395 GB, free: 29.62 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/9.196, allocations: 88.77 kB / 5.396 GB, free: 29.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/10.72, allocations: 0.4925 GB / 5.888 GB, free: 76.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/10.72, allocations: 3.938 kB / 5.888 GB, free: 76.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.157e-05/10.72, allocations: 23.98 kB / 5.888 GB, free: 76.43 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.002295/10.72, allocations: 1.174 MB / 5.889 GB, free: 75.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/10.73, allocations: 8.031 kB / 5.889 GB, free: 75.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/10.73, allocations: 102.5 kB / 5.889 GB, free: 75.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/10.73, allocations: 370.5 kB / 5.89 GB, free: 74.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/10.73, allocations: 0.8808 MB / 5.891 GB, free: 73.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/10.73, allocations: 49.31 kB / 5.891 GB, free: 73.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/10.73, allocations: 60 kB / 5.891 GB, free: 73.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/10.73, allocations: 0.604 MB / 5.891 GB, free: 73.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/10.73, allocations: 7.938 kB / 5.891 GB, free: 73.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/10.73, allocations: 20 kB / 5.891 GB, free: 73.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/10.73, allocations: 21.31 kB / 5.891 GB, free: 73.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/10.73, allocations: 0.5513 MB / 5.892 GB, free: 72.49 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.002646/10.73, allocations: 2.776 MB / 5.895 GB, free: 69.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/10.73, allocations: 449.7 kB / 5.895 GB, free: 69.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/10.73, allocations: 241.6 kB / 5.895 GB, free: 68.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/10.73, allocations: 105.5 kB / 5.895 GB, free: 68.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/10.73, allocations: 46.92 kB / 5.895 GB, free: 68.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 1.833e-06/10.73, allocations: 0 / 5.895 GB, free: 68.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.005971/10.74, allocations: 2.657 MB / 5.898 GB, free: 65.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/10.74, allocations: 59.97 kB / 5.898 GB, free: 65.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/10.74, allocations: 0.5073 MB / 5.898 GB, free: 65.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/10.74, allocations: 41.7 kB / 5.899 GB, free: 65.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/10.74, allocations: 372.2 kB / 5.899 GB, free: 64.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/10.74, allocations: 216.8 kB / 5.899 GB, free: 64.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/10.74, allocations: 12 kB / 5.899 GB, free: 64.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/10.74, allocations: 382.7 kB / 5.899 GB, free: 64.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/10.74, allocations: 277.5 kB / 5.9 GB, free: 64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/10.74, allocations: 386.5 kB / 5.9 GB, free: 63.58 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.004741/10.75, allocations: 1.419 MB / 5.901 GB, free: 62.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/10.75, allocations: 4 kB / 5.901 GB, free: 62.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002082/10.75, allocations: 1.1 MB / 5.903 GB, free: 61.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/10.75, allocations: 0.6192 MB / 5.903 GB, free: 60.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/10.75, allocations: 3.953 kB / 5.903 GB, free: 60.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/10.75, allocations: 485.9 kB / 5.904 GB, free: 59.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/10.75, allocations: 83.89 kB / 5.904 GB, free: 59.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/10.76, allocations: 5.01 MB / 5.909 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/10.76, allocations: 63.86 kB / 5.909 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/10.76, allocations: 24 kB / 5.909 GB, free: 54.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/10.76, allocations: 9.078 kB / 5.909 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001971/10.76, allocations: 1.009 MB / 5.91 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/10.76, allocations: 4 kB / 5.91 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/10.76, allocations: 488.9 kB / 5.91 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/10.76, allocations: 75.91 kB / 5.91 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004933/10.77, allocations: 4.41 MB / 5.915 GB, free: 48.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/10.77, allocations: 63.8 kB / 5.915 GB, free: 48.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/10.77, allocations: 20 kB / 5.915 GB, free: 48.35 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. 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.0001666/10.77, allocations: 142.2 kB / 5.915 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/10.77, allocations: 83.02 kB / 5.915 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/10.77, allocations: 1.096 MB / 5.916 GB, free: 47.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/10.77, allocations: 8 kB / 5.916 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/10.77, allocations: 0 / 5.916 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/10.77, allocations: 1.29 MB / 5.917 GB, free: 45.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/10.77, allocations: 2.377 MB / 5.919 GB, free: 43.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/10.77, allocations: 96 / 5.919 GB, free: 43.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/10.77, allocations: 71.84 kB / 5.92 GB, free: 43.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/10.78, allocations: 482.5 kB / 5.92 GB, free: 42.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/10.78, allocations: 20 kB / 5.92 GB, free: 42.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005042/10.78, allocations: 4.743 MB / 5.925 GB, free: 37.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/10.78, allocations: 7.938 kB / 5.925 GB, free: 37.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/10.78, allocations: 1.531 MB / 5.926 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/10.78, allocations: 240.2 kB / 5.926 GB, free: 35.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/10.78, allocations: 27.97 kB / 5.926 GB, free: 35.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007394/10.79, allocations: 48.25 kB / 5.926 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/10.79, allocations: 52.42 kB / 5.927 GB, free: 35.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/10.79, allocations: 31.98 kB / 5.927 GB, free: 35.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004206/10.79, allocations: 411.2 kB / 5.927 GB, free: 35.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/10.79, allocations: 0 / 5.927 GB, free: 35.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001574/10.79, allocations: 0.5663 MB / 5.927 GB, free: 34.75 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.003992/10.79, allocations: 3.386 MB / 5.931 GB, free: 31.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0028/10.79, allocations: 1.694 MB / 5.932 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/10.79, allocations: 0 / 5.932 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/10.8, allocations: 0.6605 MB / 5.933 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/10.8, allocations: 466.1 kB / 5.934 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/10.8, allocations: 1.722 MB / 5.935 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/10.8, allocations: 1.07 MB / 5.936 GB, free: 25.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009704/10.8, allocations: 254.2 kB / 5.937 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/10.8, allocations: 267.3 kB / 5.937 GB, free: 25.07 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/10.8, allocations: 0 / 5.937 GB, free: 25.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/11.21, allocations: 52.81 MB / 5.988 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/11.21, allocations: 263.4 kB / 5.989 GB, free: 136.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/14.4, allocations: 0 / 5.989 GB, free: 136.3 MB / 0.698 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)