Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 85.78 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.703e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.373, allocations: 2.191 GB / 3.076 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/6.373, allocations: 91.94 kB / 3.076 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/7.507, allocations: 251.5 MB / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.817e-06/7.507, allocations: 3.891 kB / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.637e-05/7.508, allocations: 21.11 kB / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002112/7.51, allocations: 0.7957 MB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/7.51, allocations: 9.688 kB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/7.511, allocations: 177 kB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/7.512, allocations: 0.5119 MB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/7.513, allocations: 16.75 kB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/7.513, allocations: 26.03 kB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007774/7.513, allocations: 368.3 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/7.514, allocations: 445.7 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/7.514, allocations: 0 / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/7.514, allocations: 5.078 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/7.514, allocations: 19.5 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/7.518, allocations: 1.76 MB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/7.518, allocations: 198.4 kB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/7.518, allocations: 132.4 kB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/7.518, allocations: 96.25 kB / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/7.518, allocations: 40.06 kB / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/7.518, allocations: 0 / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0006841/7.519, allocations: 279.1 kB / 3.327 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/7.519, allocations: 55 kB / 3.327 GB, free: 235 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/7.52, allocations: 329.6 kB / 3.327 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/7.52, allocations: 29.73 kB / 3.327 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/7.52, allocations: 288.5 kB / 3.327 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/7.52, allocations: 82.84 kB / 3.327 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/7.52, allocations: 0 / 3.327 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/7.52, allocations: 343 kB / 3.328 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/7.52, allocations: 107 kB / 3.328 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/7.52, allocations: 198.5 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/7.521, allocations: 137.9 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/7.521, allocations: 4.688 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005522/7.521, allocations: 362.3 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/7.521, allocations: 6.938 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/7.521, allocations: 3.281 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/7.521, allocations: 8.969 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/7.522, allocations: 67.19 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/7.522, allocations: 4.594 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/7.522, allocations: 35.12 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/7.522, allocations: 15.91 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 0.0001073/7.522, allocations: 120.8 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003509/7.523, allocations: 254 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/7.523, allocations: 37.78 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/7.523, allocations: 43.56 kB / 3.329 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/7.523, allocations: 3.844 kB / 3.329 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/7.523, allocations: 0 / 3.329 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002762/7.523, allocations: 316.5 kB / 3.329 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/7.524, allocations: 0.8787 MB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/7.524, allocations: 0 / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/7.525, allocations: 56 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/7.525, allocations: 7.688 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/7.525, allocations: 7.453 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/7.525, allocations: 3.938 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/7.525, allocations: 6.188 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/7.525, allocations: 0.5823 MB / 3.331 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/7.526, allocations: 162.2 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/7.526, allocations: 3.969 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/7.526, allocations: 29.47 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/7.526, allocations: 19.12 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/7.526, allocations: 18.23 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002261/7.526, allocations: 260.2 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.526, allocations: 0 / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007837/7.527, allocations: 212.8 kB / 3.332 GB, free: 233 MB / 0.8698 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.002062/7.529, allocations: 2.512 MB / 3.334 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003513/7.53, allocations: 251.6 kB / 3.334 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/7.53, allocations: 0 / 3.334 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/7.53, allocations: 109.8 kB / 3.334 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/7.531, allocations: 229.4 kB / 3.335 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/7.532, allocations: 0.8735 MB / 3.335 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/7.533, allocations: 0.8953 MB / 3.336 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004438/7.533, allocations: 110 kB / 3.336 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/7.533, allocations: 163.3 kB / 3.337 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/7.533, allocations: 2.938 kB / 3.337 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/7.577, allocations: 18.62 MB / 3.355 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/7.578, allocations: 196.5 kB / 3.355 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/10.09, allocations: 0 / 3.355 GB, free: 229.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)