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 0.8789/0.8789, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001206/0.001205, allocations: 188.8 kB / 182.2 MB, free: 9.418 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.535/1.535, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.001032/0.001032, allocations: 91.78 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001896, allocations: 277 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.529e-05, allocations: 8 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.4999, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.064/5.564, allocations: 1.877 GB / 2.635 GB, free: 141.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/5.565, allocations: 91.94 kB / 2.635 GB, free: 141.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8699/6.435, allocations: 259.4 MB / 2.888 GB, free: 169.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/6.435, allocations: 0 / 2.888 GB, free: 169.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.348e-05/6.435, allocations: 16 kB / 2.888 GB, free: 169.2 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001216/6.436, allocations: 0.7893 MB / 2.889 GB, free: 168.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/6.436, allocations: 12.02 kB / 2.889 GB, free: 168.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/6.437, allocations: 167.1 kB / 2.889 GB, free: 168.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/6.438, allocations: 0.5081 MB / 2.89 GB, free: 167.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/6.438, allocations: 15.94 kB / 2.89 GB, free: 167.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/6.438, allocations: 28 kB / 2.89 GB, free: 167.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005069/6.438, allocations: 362.5 kB / 2.89 GB, free: 167.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/6.439, allocations: 440.2 kB / 2.891 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/6.439, allocations: 0.6875 kB / 2.891 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/6.439, allocations: 0 / 2.891 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/6.439, allocations: 17.27 kB / 2.891 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/6.441, allocations: 1.756 MB / 2.892 GB, free: 164.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/6.442, allocations: 214.4 kB / 2.893 GB, free: 164.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/6.442, allocations: 132.8 kB / 2.893 GB, free: 164.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/6.442, allocations: 97.08 kB / 2.893 GB, free: 164.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/6.442, allocations: 46.5 kB / 2.893 GB, free: 164.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/6.442, allocations: 0 / 2.893 GB, free: 164.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0005583/6.442, allocations: 269.4 kB / 2.893 GB, free: 164.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/6.442, allocations: 51.41 kB / 2.893 GB, free: 164.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/6.443, allocations: 325.3 kB / 2.893 GB, free: 163.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/6.443, allocations: 25.7 kB / 2.893 GB, free: 163.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/6.443, allocations: 283.6 kB / 2.894 GB, free: 163.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/6.443, allocations: 90.75 kB / 2.894 GB, free: 163.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/6.443, allocations: 0 / 2.894 GB, free: 163.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/6.443, allocations: 346.8 kB / 2.894 GB, free: 163 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/6.443, allocations: 104.6 kB / 2.894 GB, free: 162.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/6.443, allocations: 207 kB / 2.894 GB, free: 162.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/6.444, allocations: 136.4 kB / 2.895 GB, free: 162.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/6.444, allocations: 0 / 2.895 GB, free: 162.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004022/6.444, allocations: 360.9 kB / 2.895 GB, free: 162.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.444, allocations: 5.562 kB / 2.895 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/6.444, allocations: 4 kB / 2.895 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/6.444, allocations: 4 kB / 2.895 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/6.444, allocations: 67.91 kB / 2.895 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/6.444, allocations: 4 kB / 2.895 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/6.445, allocations: 32.02 kB / 2.895 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/6.445, allocations: 16 kB / 2.895 GB, free: 162 MB / 0.698 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 () * 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 8.155e-05/6.445, allocations: 120.8 kB / 2.895 GB, free: 161.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002939/6.445, allocations: 258.8 kB / 2.895 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/6.445, allocations: 39.53 kB / 2.895 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/6.445, allocations: 39.38 kB / 2.895 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/6.445, allocations: 8 kB / 2.895 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/6.445, allocations: 3.938 kB / 2.895 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00025/6.446, allocations: 317.1 kB / 2.896 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/6.447, allocations: 0.8686 MB / 2.897 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/6.447, allocations: 4 kB / 2.897 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/6.447, allocations: 55.91 kB / 2.897 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/6.447, allocations: 4 kB / 2.897 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/6.447, allocations: 4 kB / 2.897 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/6.447, allocations: 3.984 kB / 2.897 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/6.447, allocations: 4 kB / 2.897 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/6.447, allocations: 0.5901 MB / 2.897 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/6.448, allocations: 156.6 kB / 2.897 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/6.448, allocations: 0 / 2.897 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/6.448, allocations: 19.89 kB / 2.897 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/6.448, allocations: 28 kB / 2.897 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/6.448, allocations: 11.98 kB / 2.897 GB, free: 159.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001947/6.448, allocations: 255 kB / 2.898 GB, free: 159.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.448, allocations: 3.938 kB / 2.898 GB, free: 159.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006617/6.449, allocations: 203.7 kB / 2.898 GB, free: 158.9 MB / 0.698 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 () * 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.001835/6.451, allocations: 2.528 MB / 2.9 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003306/6.451, allocations: 247.7 kB / 2.901 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/6.451, allocations: 0 / 2.901 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/6.451, allocations: 108.5 kB / 2.901 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/6.452, allocations: 244.8 kB / 2.901 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/6.454, allocations: 0.8406 MB / 2.902 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/6.454, allocations: 0.8896 MB / 2.903 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003812/6.454, allocations: 115.4 kB / 2.903 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/6.455, allocations: 155.4 kB / 2.903 GB, free: 153.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/6.455, allocations: 0 / 2.903 GB, free: 153.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/6.491, allocations: 18.39 MB / 2.921 GB, free: 135.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/6.491, allocations: 195.1 kB / 2.921 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/9.06, allocations: 0 / 2.921 GB, free: 135.3 MB / 0.698 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)