Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.8826/0.8826, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001068/0.001068, allocations: 176.9 kB / 182.2 MB, free: 9.449 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.634/1.634, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009742/0.0009739, allocations: 89 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001854, allocations: 265.6 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.162e-05, allocations: 4 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4737, allocations: 82.78 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.483/1.957, allocations: 491.9 MB / 1.238 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.958, allocations: 87.77 kB / 1.238 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/3.3, allocations: 397.9 MB / 1.627 GB, free: 88.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/3.3, allocations: 0 / 1.627 GB, free: 88.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.722e-05/3.3, allocations: 31.86 kB / 1.627 GB, free: 88.02 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002623/3.303, allocations: 1.153 MB / 1.628 GB, free: 86.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/3.303, allocations: 8.031 kB / 1.628 GB, free: 86.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/3.304, allocations: 154.9 kB / 1.628 GB, free: 86.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/3.306, allocations: 0.9794 MB / 1.629 GB, free: 85.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/3.306, allocations: 16 kB / 1.629 GB, free: 85.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/3.306, allocations: 32 kB / 1.629 GB, free: 85.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004494/3.306, allocations: 286.5 kB / 1.629 GB, free: 85.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/3.307, allocations: 438.2 kB / 1.63 GB, free: 84.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/3.307, allocations: 3.984 kB / 1.63 GB, free: 84.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/3.307, allocations: 8 kB / 1.63 GB, free: 84.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/3.307, allocations: 15.95 kB / 1.63 GB, free: 84.82 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.001894/3.309, allocations: 2.129 MB / 1.632 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/3.309, allocations: 247.2 kB / 1.632 GB, free: 82.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/3.309, allocations: 120.8 kB / 1.632 GB, free: 82.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/3.31, allocations: 2.023 MB / 1.634 GB, free: 79.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/3.31, allocations: 46.67 kB / 1.634 GB, free: 79.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/3.31, allocations: 4 kB / 1.634 GB, free: 79.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.003957/3.314, allocations: 1.471 MB / 1.635 GB, free: 78.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/3.314, allocations: 63.31 kB / 1.636 GB, free: 78.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/3.315, allocations: 402.1 kB / 1.636 GB, free: 77.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/3.315, allocations: 25.7 kB / 1.636 GB, free: 77.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/3.315, allocations: 316.4 kB / 1.636 GB, free: 77.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/3.315, allocations: 153.8 kB / 1.636 GB, free: 77.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/3.315, allocations: 0 / 1.636 GB, free: 77.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/3.315, allocations: 362.8 kB / 1.637 GB, free: 76.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/3.315, allocations: 129.1 kB / 1.637 GB, free: 76.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/3.315, allocations: 250.5 kB / 1.637 GB, free: 76.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/3.316, allocations: 237.4 kB / 1.637 GB, free: 76.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/3.316, allocations: 0 / 1.637 GB, free: 76.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001178/3.317, allocations: 0.6078 MB / 1.638 GB, free: 75.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/3.317, allocations: 1.13 MB / 1.639 GB, free: 74.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/3.317, allocations: 4 kB / 1.639 GB, free: 74.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/3.318, allocations: 173.6 kB / 1.639 GB, free: 74.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/3.318, allocations: 75.83 kB / 1.639 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/3.319, allocations: 1.374 MB / 1.641 GB, free: 72.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/3.32, allocations: 20.02 kB / 1.641 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/3.32, allocations: 32.06 kB / 1.641 GB, free: 72.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/3.32, allocations: 4.625 kB / 1.641 GB, free: 72.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/3.321, allocations: 0.5204 MB / 1.641 GB, free: 72.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/3.321, allocations: 4 kB / 1.641 GB, free: 72.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/3.321, allocations: 169.6 kB / 1.641 GB, free: 71.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/3.321, allocations: 67.91 kB / 1.641 GB, free: 71.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/3.322, allocations: 1.378 MB / 1.643 GB, free: 70.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/3.323, allocations: 35.97 kB / 1.643 GB, free: 70.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/3.323, allocations: 23.94 kB / 1.643 GB, free: 70.32 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/3.323, allocations: 113.7 kB / 1.643 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001207/3.324, allocations: 0.549 MB / 1.643 GB, free: 69.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/3.324, allocations: 59.3 kB / 1.643 GB, free: 69.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/3.326, allocations: 0.6419 MB / 1.644 GB, free: 68.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/3.326, allocations: 4 kB / 1.644 GB, free: 68.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/3.326, allocations: 0 / 1.644 GB, free: 68.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/3.327, allocations: 0.6664 MB / 1.645 GB, free: 68.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/3.329, allocations: 1.37 MB / 1.646 GB, free: 66.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/3.329, allocations: 4 kB / 1.646 GB, free: 66.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/3.329, allocations: 43.97 kB / 1.646 GB, free: 66.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/3.33, allocations: 161.6 kB / 1.646 GB, free: 66.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/3.33, allocations: 11.98 kB / 1.646 GB, free: 66.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/3.331, allocations: 1.354 MB / 1.648 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/3.331, allocations: 0 / 1.648 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/3.332, allocations: 0.8749 MB / 1.648 GB, free: 64.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/3.333, allocations: 188.3 kB / 1.649 GB, free: 64.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/3.333, allocations: 8 kB / 1.649 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/3.333, allocations: 27.81 kB / 1.649 GB, free: 63.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/3.333, allocations: 24.03 kB / 1.649 GB, free: 63.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/3.333, allocations: 31.92 kB / 1.649 GB, free: 63.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003225/3.333, allocations: 306.9 kB / 1.649 GB, free: 63.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/3.334, allocations: 0 / 1.649 GB, free: 63.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001647/3.335, allocations: 479.6 kB / 1.649 GB, free: 63.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002613/3.338, allocations: 1.869 MB / 1.651 GB, free: 61.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001207/3.339, allocations: 0.6633 MB / 1.652 GB, free: 60.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/3.339, allocations: 4 kB / 1.652 GB, free: 60.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/3.339, allocations: 215.8 kB / 1.652 GB, free: 60.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/3.341, allocations: 298.4 kB / 1.652 GB, free: 60.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/3.343, allocations: 1.116 MB / 1.654 GB, free: 58.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/3.343, allocations: 0.927 MB / 1.654 GB, free: 57.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000746/3.344, allocations: 258.2 kB / 1.655 GB, free: 57.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/3.344, allocations: 219.3 kB / 1.655 GB, free: 57.53 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/3.344, allocations: 0 / 1.655 GB, free: 57.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/3.387, allocations: 21.24 MB / 1.676 GB, free: 36.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/3.387, allocations: 193.5 kB / 1.676 GB, free: 36.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/6.332, allocations: 4.031 kB / 1.676 GB, free: 36.27 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)