Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.8/1.8, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001149/0.001149, allocations: 95.03 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.804e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5829, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.86/13.44, allocations: 4.633 GB / 5.267 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/13.44, allocations: 90.83 kB / 5.267 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.676/15.12, allocations: 499.4 MB / 5.755 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/15.12, allocations: 4 kB / 5.755 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001411/15.12, allocations: 31.98 kB / 5.755 GB, free: 18.89 MB / 0.6823 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.003766/15.12, allocations: 1.172 MB / 5.756 GB, free: 17.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/15.12, allocations: 15.97 kB / 5.756 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/15.12, allocations: 374.4 kB / 5.756 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/15.13, allocations: 0.8914 MB / 5.757 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/15.13, allocations: 20 kB / 5.757 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/15.13, allocations: 40.59 kB / 5.757 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/15.13, allocations: 0.5141 MB / 5.758 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/15.13, allocations: 0.5193 MB / 5.758 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/15.13, allocations: 0 / 5.758 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/15.13, allocations: 3.984 kB / 5.758 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/15.13, allocations: 21.31 kB / 5.758 GB, free: 15.23 MB / 0.6823 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.003673/15.13, allocations: 2.665 MB / 5.761 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/15.13, allocations: 424.1 kB / 5.761 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/15.13, allocations: 229.9 kB / 5.762 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/15.13, allocations: 99.34 kB / 5.762 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/15.13, allocations: 38.56 kB / 5.762 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 4.167e-06/15.13, allocations: 3.938 kB / 5.762 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.007043/15.14, allocations: 2.539 MB / 5.764 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/15.14, allocations: 59.97 kB / 5.764 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/15.14, allocations: 474.5 kB / 5.765 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/15.14, allocations: 25.7 kB / 5.765 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/15.14, allocations: 364.2 kB / 5.765 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/15.14, allocations: 216.8 kB / 5.765 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/15.14, allocations: 0 / 5.765 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001178/15.14, allocations: 378.8 kB / 5.766 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/15.14, allocations: 257.5 kB / 5.766 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/15.14, allocations: 377 kB / 5.766 GB, free: 6.727 MB / 0.6823 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.005069/15.15, allocations: 1.393 MB / 5.768 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/15.15, allocations: 0 / 5.768 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002415/15.15, allocations: 1.041 MB / 5.769 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002144/15.15, allocations: 0.6185 MB / 5.769 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/15.15, allocations: 0 / 5.769 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/15.15, allocations: 461.2 kB / 5.77 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/15.15, allocations: 91.81 kB / 5.77 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6016/15.75, allocations: 4.78 MB / 5.774 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/15.75, allocations: 52.34 kB / 5.774 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/15.75, allocations: 19.45 kB / 5.774 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/15.75, allocations: 5.781 kB / 5.774 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003095/15.76, allocations: 0.942 MB / 5.775 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/15.76, allocations: 6.016 kB / 5.775 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/15.76, allocations: 456.5 kB / 5.776 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/15.76, allocations: 73.34 kB / 5.776 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/15.77, allocations: 4.191 MB / 5.78 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/15.77, allocations: 54.58 kB / 5.78 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/15.77, allocations: 21.95 kB / 5.78 GB, free: 130.1 MB / 0.6823 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.0003366/15.77, allocations: 133.9 kB / 5.78 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002543/15.77, allocations: 0.9887 MB / 5.781 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/15.77, allocations: 76.16 kB / 5.781 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/15.77, allocations: 1.04 MB / 5.782 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/15.77, allocations: 7.844 kB / 5.782 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/15.77, allocations: 0 / 5.782 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/15.78, allocations: 1.245 MB / 5.783 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/15.78, allocations: 2.23 MB / 5.786 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/15.78, allocations: 0 / 5.786 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/15.78, allocations: 69.03 kB / 5.786 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/15.78, allocations: 476.6 kB / 5.786 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/15.78, allocations: 14.97 kB / 5.786 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/15.79, allocations: 4.572 MB / 5.791 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/15.79, allocations: 3.938 kB / 5.791 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/15.79, allocations: 1.48 MB / 5.792 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/15.79, allocations: 237.8 kB / 5.792 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/15.79, allocations: 18.47 kB / 5.792 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/15.79, allocations: 46.97 kB / 5.792 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/15.79, allocations: 48.31 kB / 5.792 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/15.79, allocations: 27.75 kB / 5.792 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005157/15.79, allocations: 362.5 kB / 5.793 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/15.79, allocations: 0 / 5.793 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003663/15.8, allocations: 0.5475 MB / 5.793 GB, free: 126.6 MB / 0.6823 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.006224/15.8, allocations: 3.495 MB / 5.797 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0036/15.81, allocations: 1.616 MB / 5.798 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/15.81, allocations: 5.438 kB / 5.798 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/15.81, allocations: 0.6274 MB / 5.799 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/15.81, allocations: 439 kB / 5.799 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/15.81, allocations: 1.673 MB / 5.801 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/15.82, allocations: 1.076 MB / 5.802 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001086/15.82, allocations: 245.6 kB / 5.802 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/15.82, allocations: 269 kB / 5.803 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/15.82, allocations: 0 / 5.803 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06653/15.88, allocations: 38.32 MB / 5.84 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/15.88, allocations: 194 kB / 5.84 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/19.37, allocations: 0 / 5.84 GB, free: 122.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)