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.7116/0.7116, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 186.3 kB / 187.3 MB, free: 11.88 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.271/1.271, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007877/0.0007877, allocations: 99.67 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 267.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.851e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3808, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.647/4.028, allocations: 1.878 GB / 2.642 GB, free: 128.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/4.028, allocations: 86.45 kB / 2.643 GB, free: 128.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7947/4.823, allocations: 262.5 MB / 2.899 GB, free: 151.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/4.823, allocations: 7.938 kB / 2.899 GB, free: 151.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.016e-05/4.823, allocations: 8 kB / 2.899 GB, free: 151.7 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.001246/4.824, allocations: 0.7983 MB / 2.9 GB, free: 150.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/4.824, allocations: 8.031 kB / 2.9 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/4.825, allocations: 86.52 kB / 2.9 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/4.826, allocations: 171.1 kB / 2.9 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/4.826, allocations: 0.4986 MB / 2.9 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/4.827, allocations: 37 kB / 2.901 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/4.827, allocations: 40 kB / 2.901 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/4.827, allocations: 498.2 kB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/4.827, allocations: 0 / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/4.827, allocations: 24.5 kB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/4.827, allocations: 16.95 kB / 2.901 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/4.828, allocations: 383.9 kB / 2.901 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/4.83, allocations: 1.862 MB / 2.903 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/4.83, allocations: 222.4 kB / 2.903 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/4.83, allocations: 138.2 kB / 2.904 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/4.83, allocations: 101.1 kB / 2.904 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/4.83, allocations: 38.5 kB / 2.904 GB, free: 146.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/4.83, allocations: 4 kB / 2.904 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0005379/4.831, allocations: 286.7 kB / 2.904 GB, free: 146.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.853e-05/4.831, allocations: 59.41 kB / 2.904 GB, free: 146.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/4.831, allocations: 431.8 kB / 2.904 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/4.831, allocations: 33.7 kB / 2.905 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/4.832, allocations: 279.8 kB / 2.905 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/4.832, allocations: 82.75 kB / 2.905 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/4.832, allocations: 8 kB / 2.905 GB, free: 145.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/4.832, allocations: 354.8 kB / 2.905 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/4.832, allocations: 112.6 kB / 2.905 GB, free: 144.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/4.832, allocations: 203.5 kB / 2.905 GB, free: 144.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/4.832, allocations: 145.4 kB / 2.906 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/4.832, allocations: 0 / 2.906 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004602/4.833, allocations: 408.8 kB / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/4.833, allocations: 4 kB / 2.906 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/4.833, allocations: 4 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/4.833, allocations: 4 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/4.833, allocations: 63.91 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/4.833, allocations: 4 kB / 2.906 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/4.833, allocations: 55.64 kB / 2.906 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/4.833, allocations: 15.94 kB / 2.906 GB, free: 143.9 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 7.478e-05/4.834, allocations: 129.7 kB / 2.906 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/4.834, allocations: 55.36 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.564e-05/4.834, allocations: 51.86 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/4.834, allocations: 0 / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/4.834, allocations: 4 kB / 2.906 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002777/4.834, allocations: 333.1 kB / 2.907 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/4.835, allocations: 0.9518 MB / 2.908 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/4.835, allocations: 0 / 2.908 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/4.835, allocations: 55.91 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/4.835, allocations: 4 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/4.835, allocations: 12.19 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/4.835, allocations: 4 kB / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/4.835, allocations: 0 / 2.908 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/4.836, allocations: 0.6155 MB / 2.908 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/4.836, allocations: 164.5 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/4.836, allocations: 8 kB / 2.908 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/4.837, allocations: 24.05 kB / 2.909 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/4.837, allocations: 27.83 kB / 2.909 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/4.837, allocations: 12 kB / 2.909 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002858/4.837, allocations: 349.5 kB / 2.909 GB, free: 140.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/4.837, allocations: 4 kB / 2.909 GB, free: 140.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006695/4.838, allocations: 239.7 kB / 2.909 GB, free: 140.7 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.001717/4.839, allocations: 2.42 MB / 2.911 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000349/4.84, allocations: 263.6 kB / 2.912 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/4.84, allocations: 0 / 2.912 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/4.84, allocations: 120.7 kB / 2.912 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/4.841, allocations: 320.5 kB / 2.912 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/4.842, allocations: 0.8849 MB / 2.913 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/4.843, allocations: 0.8978 MB / 2.914 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004292/4.843, allocations: 128.6 kB / 2.914 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/4.843, allocations: 159.4 kB / 2.914 GB, free: 135.4 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/4.843, allocations: 0 / 2.914 GB, free: 135.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/4.884, allocations: 31.57 MB / 2.945 GB, free: 104.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000124/4.884, allocations: 219.7 kB / 2.945 GB, free: 103.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/7.549, allocations: 0 / 2.945 GB, free: 103.8 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)