Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 189 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.6366 GB, free: 8.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 87.14 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.178/6.518, allocations: 2.073 GB / 3.062 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/6.518, allocations: 88.33 kB / 3.062 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/7.747, allocations: 259.3 MB / 3.315 GB, free: 214.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.362e-06/7.747, allocations: 0 / 3.315 GB, free: 214.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.197e-05/7.747, allocations: 14.66 kB / 3.315 GB, free: 214.7 MB / 0.948 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.00193/7.749, allocations: 0.8627 MB / 3.316 GB, free: 214 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/7.749, allocations: 11.53 kB / 3.316 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/7.749, allocations: 81.2 kB / 3.316 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/7.75, allocations: 176.1 kB / 3.316 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/7.751, allocations: 0.5067 MB / 3.317 GB, free: 213.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/7.751, allocations: 34.98 kB / 3.317 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/7.751, allocations: 46.38 kB / 3.317 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/7.752, allocations: 0.4941 MB / 3.317 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/7.752, allocations: 0 / 3.317 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/7.752, allocations: 22.81 kB / 3.317 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/7.752, allocations: 18.84 kB / 3.317 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/7.752, allocations: 390.1 kB / 3.318 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/7.755, allocations: 1.86 MB / 3.32 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/7.755, allocations: 226.7 kB / 3.32 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/7.755, allocations: 95.69 kB / 3.32 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/7.755, allocations: 34.56 kB / 3.32 GB, free: 211.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/7.756, allocations: 4 kB / 3.32 GB, free: 211.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0007244/7.756, allocations: 382.3 kB / 3.32 GB, free: 210.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/7.756, allocations: 54.91 kB / 3.32 GB, free: 210.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/7.757, allocations: 444.2 kB / 3.321 GB, free: 210.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/7.757, allocations: 33.39 kB / 3.321 GB, free: 210.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/7.757, allocations: 273.4 kB / 3.321 GB, free: 210.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/7.757, allocations: 86.77 kB / 3.321 GB, free: 210.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/7.757, allocations: 8 kB / 3.321 GB, free: 210.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/7.757, allocations: 353.5 kB / 3.321 GB, free: 209.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/7.757, allocations: 118.8 kB / 3.322 GB, free: 209.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/7.758, allocations: 202 kB / 3.322 GB, free: 209.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/7.758, allocations: 149.1 kB / 3.322 GB, free: 209.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/7.758, allocations: 0 / 3.322 GB, free: 209.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005326/7.758, allocations: 407.6 kB / 3.322 GB, free: 209.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/7.758, allocations: 7.875 kB / 3.322 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/7.758, allocations: 4 kB / 3.322 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/7.758, allocations: 7.812 kB / 3.322 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/7.759, allocations: 62.81 kB / 3.322 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/7.759, allocations: 7.719 kB / 3.322 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/7.759, allocations: 55.3 kB / 3.322 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/7.759, allocations: 15.39 kB / 3.322 GB, free: 209.3 MB / 0.948 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.0002239/7.76, allocations: 210.8 kB / 3.323 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/7.76, allocations: 49.69 kB / 3.323 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/7.76, allocations: 52.48 kB / 3.323 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/7.76, allocations: 3.844 kB / 3.323 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/7.76, allocations: 4 kB / 3.323 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003424/7.76, allocations: 336.7 kB / 3.323 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/7.761, allocations: 0.9491 MB / 3.324 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/7.761, allocations: 4.156 kB / 3.324 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/7.762, allocations: 61.28 kB / 3.324 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/7.762, allocations: 0 / 3.324 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/7.762, allocations: 7.781 kB / 3.324 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/7.762, allocations: 7.734 kB / 3.324 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/7.762, allocations: 3.781 kB / 3.324 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/7.762, allocations: 0.6157 MB / 3.325 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/7.762, allocations: 172.3 kB / 3.325 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/7.763, allocations: 7.75 kB / 3.325 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/7.763, allocations: 26.75 kB / 3.325 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/7.763, allocations: 22.22 kB / 3.325 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/7.763, allocations: 21.83 kB / 3.325 GB, free: 207.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003282/7.763, allocations: 350.6 kB / 3.325 GB, free: 207.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.763, allocations: 0 / 3.325 GB, free: 207.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008535/7.764, allocations: 229.4 kB / 3.326 GB, free: 207.1 MB / 0.948 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.002268/7.767, allocations: 2.411 MB / 3.328 GB, free: 205.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004665/7.767, allocations: 267.9 kB / 3.328 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/7.767, allocations: 3.312 kB / 3.328 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/7.767, allocations: 117.7 kB / 3.328 GB, free: 205 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/7.769, allocations: 329.4 kB / 3.329 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/7.773, allocations: 4.273 MB / 3.333 GB, free: 201.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/7.773, allocations: 0.8944 MB / 3.334 GB, free: 200.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000507/7.773, allocations: 128.3 kB / 3.334 GB, free: 200.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/7.774, allocations: 164.4 kB / 3.334 GB, free: 200.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.774, allocations: 0 / 3.334 GB, free: 200.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/7.822, allocations: 29.02 MB / 3.362 GB, free: 179.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/7.822, allocations: 226.6 kB / 3.362 GB, free: 179.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/10.97, allocations: 4 kB / 3.362 GB, free: 179.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)