Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume",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.8184/0.8184, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001561/0.001561, allocations: 179.4 kB / 191.5 MB, free: 5.77 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.58/1.58, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0009881/0.0009879, allocations: 84.39 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 264.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 17.78 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.392, allocations: 1.892 GB / 2.666 GB, free: 185.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/5.393, allocations: 95.41 kB / 2.666 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.913/11.31, allocations: 1.356 GB / 4.022 GB, free: 87.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.644e-06/11.31, allocations: 1.438 kB / 4.022 GB, free: 87.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001908/11.31, allocations: 54.03 kB / 4.022 GB, free: 87.85 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008842/11.31, allocations: 2.473 MB / 4.025 GB, free: 86.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.361e-05/11.31, allocations: 10.22 kB / 4.025 GB, free: 86.93 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009466/11.32, allocations: 216.6 kB / 4.025 GB, free: 86.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/11.32, allocations: 0.5026 MB / 4.025 GB, free: 86.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/11.33, allocations: 1.413 MB / 4.027 GB, free: 86.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/11.33, allocations: 178.3 kB / 4.027 GB, free: 86.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/11.33, allocations: 154.9 kB / 4.027 GB, free: 86.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/11.33, allocations: 1.694 MB / 4.029 GB, free: 86.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/11.33, allocations: 0 / 4.029 GB, free: 86.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/11.33, allocations: 65.97 kB / 4.029 GB, free: 86.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.3e-05/11.33, allocations: 52.3 kB / 4.029 GB, free: 86.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/11.33, allocations: 1.346 MB / 4.03 GB, free: 86.12 MB / 0.7448 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.01003/11.34, allocations: 8.222 MB / 4.038 GB, free: 81.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/11.34, allocations: 0.8882 MB / 4.039 GB, free: 81.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/11.34, allocations: 325.2 kB / 4.039 GB, free: 81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/11.34, allocations: 48.03 kB / 4.039 GB, free: 80.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=96): time 3.527e-06/11.34, allocations: 2.375 kB / 4.039 GB, free: 80.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=102): time 0.00715/11.35, allocations: 3.118 MB / 4.042 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/11.35, allocations: 63.78 kB / 4.042 GB, free: 80.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/11.35, allocations: 1.079 MB / 4.044 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/11.35, allocations: 52.33 kB / 4.044 GB, free: 80.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/11.35, allocations: 0.7998 MB / 4.044 GB, free: 79.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/11.35, allocations: 371.5 kB / 4.045 GB, free: 79.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/11.35, allocations: 21.78 kB / 4.045 GB, free: 79.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/11.35, allocations: 356.9 kB / 4.045 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/11.36, allocations: 430.2 kB / 4.046 GB, free: 79.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/11.36, allocations: 0.831 MB / 4.046 GB, free: 78.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/11.36, allocations: 0.5583 MB / 4.047 GB, free: 78.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/11.36, allocations: 3.25 kB / 4.047 GB, free: 78.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002506/11.36, allocations: 1.388 MB / 4.048 GB, free: 78.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009391/11.36, allocations: 3.666 MB / 4.052 GB, free: 74.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/11.36, allocations: 12.77 kB / 4.052 GB, free: 74.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.066e-05/11.36, allocations: 15.56 kB / 4.052 GB, free: 74.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/11.36, allocations: 282 kB / 4.052 GB, free: 74.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.521e-05/11.36, allocations: 23.92 kB / 4.052 GB, free: 74.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/11.36, allocations: 172.3 kB / 4.052 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/11.36, allocations: 52.59 kB / 4.052 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/11.36, allocations: 5.375 kB / 4.052 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002159/11.37, allocations: 1.217 MB / 4.054 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/11.37, allocations: 13.69 kB / 4.054 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/11.37, allocations: 17.84 kB / 4.054 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/11.37, allocations: 287.1 kB / 4.054 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/11.37, allocations: 21.06 kB / 4.054 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/11.37, allocations: 171.5 kB / 4.054 GB, free: 74.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/11.37, allocations: 53.19 kB / 4.054 GB, free: 74.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/11.37, allocations: 0.506 MB / 4.055 GB, free: 74.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/11.37, allocations: 165.5 kB / 4.055 GB, free: 74.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/11.37, allocations: 1.159 MB / 4.056 GB, free: 74.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/11.37, allocations: 10.31 kB / 4.056 GB, free: 74.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/11.37, allocations: 0 / 4.056 GB, free: 74.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001712/11.38, allocations: 1.083 MB / 4.057 GB, free: 74.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/11.38, allocations: 2.776 MB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/11.38, allocations: 3.156 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/11.38, allocations: 262 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/11.38, allocations: 5.875 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/11.38, allocations: 26.62 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/11.38, allocations: 11.2 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/11.38, allocations: 1.688 kB / 4.06 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/11.39, allocations: 1.921 MB / 4.062 GB, free: 73.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/11.39, allocations: 332.2 kB / 4.062 GB, free: 73.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/11.39, allocations: 25.16 kB / 4.062 GB, free: 73.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/11.39, allocations: 151 kB / 4.062 GB, free: 73.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/11.39, allocations: 67 kB / 4.062 GB, free: 73.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/11.39, allocations: 34.59 kB / 4.062 GB, free: 73.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001665/11.39, allocations: 0.8313 MB / 4.063 GB, free: 73.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/11.39, allocations: 0 / 4.063 GB, free: 73.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004957/11.4, allocations: 1.065 MB / 4.064 GB, free: 73.05 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008805/11.41, allocations: 5.846 MB / 4.07 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00407/11.41, allocations: 1.735 MB / 4.072 GB, free: 70.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/11.41, allocations: 2.594 kB / 4.072 GB, free: 70.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/11.41, allocations: 0.5213 MB / 4.072 GB, free: 70.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/11.42, allocations: 0.9382 MB / 4.073 GB, free: 70.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/11.44, allocations: 16.24 MB / 4.089 GB, free: 60.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/11.44, allocations: 1.473 MB / 4.09 GB, free: 59.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00296/11.45, allocations: 0.5586 MB / 4.091 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/11.45, allocations: 0.6846 MB / 4.092 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.403e-06/11.45, allocations: 0 / 4.092 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/11.6, allocations: 86 MB / 4.176 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/11.6, allocations: 233.4 kB / 4.176 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.092/16.69, allocations: 4 kB / 4.176 GB, free: 41.2 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)