Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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 1.02/1.02, allocations: 143.3 MB / 158.3 MB, free: 5.801 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.001882/0.001881, allocations: 177.1 kB / 191.5 MB, free: 5.793 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.552/1.552, allocations: 223.2 MB / 447.7 MB, free: 4.758 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.001235/0.001235, allocations: 104.2 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.001968/0.001968, allocations: 268.8 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004579, allocations: 18.53 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.518/5.719, allocations: 1.878 GB / 2.652 GB, free: 150 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/5.719, allocations: 90.06 kB / 2.652 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.044/6.763, allocations: 262.8 MB / 2.909 GB, free: 192.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/6.763, allocations: 0 / 2.909 GB, free: 192.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.694e-05/6.763, allocations: 27.59 kB / 2.909 GB, free: 192.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001829/6.765, allocations: 0.8646 MB / 2.91 GB, free: 191.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/6.765, allocations: 12.56 kB / 2.91 GB, free: 191.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/6.765, allocations: 78.53 kB / 2.91 GB, free: 191.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/6.767, allocations: 171.2 kB / 2.91 GB, free: 191.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/6.768, allocations: 0.5009 MB / 2.91 GB, free: 190.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/6.768, allocations: 37 kB / 2.91 GB, free: 190.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/6.768, allocations: 47.98 kB / 2.91 GB, free: 190.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008274/6.768, allocations: 0.4977 MB / 2.911 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/6.769, allocations: 3.906 kB / 2.911 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/6.769, allocations: 21.03 kB / 2.911 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/6.769, allocations: 17 kB / 2.911 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/6.769, allocations: 391.7 kB / 2.911 GB, free: 189.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/6.772, allocations: 1.855 MB / 2.913 GB, free: 187.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/6.772, allocations: 222.5 kB / 2.913 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/6.772, allocations: 97.09 kB / 2.913 GB, free: 187.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/6.772, allocations: 50.42 kB / 2.913 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.745e-06/6.772, allocations: 0 / 2.913 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0008273/6.773, allocations: 379.1 kB / 2.914 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/6.773, allocations: 59.41 kB / 2.914 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/6.774, allocations: 437.1 kB / 2.914 GB, free: 186.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/6.774, allocations: 33.7 kB / 2.914 GB, free: 186.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/6.774, allocations: 271.1 kB / 2.915 GB, free: 186 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/6.774, allocations: 86.75 kB / 2.915 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/6.774, allocations: 4 kB / 2.915 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/6.774, allocations: 354.8 kB / 2.915 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/6.774, allocations: 116.6 kB / 2.915 GB, free: 185.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/6.775, allocations: 211.5 kB / 2.915 GB, free: 185.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/6.775, allocations: 145.5 kB / 2.915 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/6.775, allocations: 0 / 2.915 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000532/6.775, allocations: 401.3 kB / 2.916 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/6.775, allocations: 8.281 kB / 2.916 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/6.775, allocations: 4 kB / 2.916 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/6.775, allocations: 4 kB / 2.916 GB, free: 184.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/6.776, allocations: 63.91 kB / 2.916 GB, free: 184.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/6.776, allocations: 4 kB / 2.916 GB, free: 184.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/6.776, allocations: 59.42 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/6.776, allocations: 8.656 kB / 2.916 GB, free: 184.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (39): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002849/6.777, allocations: 217.7 kB / 2.916 GB, free: 184.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/6.777, allocations: 51.39 kB / 2.916 GB, free: 184.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/6.777, allocations: 56.06 kB / 2.916 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/6.777, allocations: 0 / 2.916 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/6.777, allocations: 0 / 2.916 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003669/6.777, allocations: 332.3 kB / 2.917 GB, free: 183.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/6.779, allocations: 0.9582 MB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/6.779, allocations: 4 kB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/6.779, allocations: 55.91 kB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/6.779, allocations: 7.938 kB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/6.779, allocations: 4 kB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/6.779, allocations: 4 kB / 2.918 GB, free: 182.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/6.779, allocations: 8.188 kB / 2.918 GB, free: 182.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/6.78, allocations: 0.6176 MB / 2.918 GB, free: 182.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/6.78, allocations: 172.5 kB / 2.918 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/6.78, allocations: 8 kB / 2.918 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/6.781, allocations: 24.05 kB / 2.918 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/6.781, allocations: 15.94 kB / 2.918 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/6.781, allocations: 23.98 kB / 2.918 GB, free: 181.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004973/6.781, allocations: 350.8 kB / 2.919 GB, free: 181.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.6e-07/6.781, allocations: 3.938 kB / 2.919 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001138/6.782, allocations: 235.7 kB / 2.919 GB, free: 181.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.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 (23): * Single equations (assignments): 23 * 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.002863/6.785, allocations: 2.431 MB / 2.921 GB, free: 178.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005522/6.786, allocations: 271.6 kB / 2.922 GB, free: 178.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.786, allocations: 0 / 2.922 GB, free: 178.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/6.786, allocations: 115.8 kB / 2.922 GB, free: 178.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/6.788, allocations: 324.8 kB / 2.922 GB, free: 178.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/6.792, allocations: 4.27 MB / 2.926 GB, free: 173.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/6.792, allocations: 0.8978 MB / 2.927 GB, free: 172.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005187/6.793, allocations: 132.6 kB / 2.927 GB, free: 172.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/6.793, allocations: 159.4 kB / 2.927 GB, free: 172.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/6.793, allocations: 0 / 2.927 GB, free: 172.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/6.841, allocations: 29.06 MB / 2.956 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/6.841, allocations: 234.7 kB / 2.956 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/9.802, allocations: 0 / 2.956 GB, free: 143.6 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)