Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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: 289.9 MB / 297.4 MB, free: 6.41 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.001325/0.001325, allocations: 180.9 kB / 366.7 MB, free: 1.648 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.874/1.874, allocations: 205.3 MB / 0.626 GB, free: 7.199 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.0009182/0.0009181, allocations: 101.2 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.743e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.751, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.42/6.171, allocations: 2.077 GB / 3.051 GB, free: 6.586 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004333/6.171, allocations: 90.94 kB / 3.051 GB, free: 6.539 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/9.182, allocations: 0.7392 GB / 3.79 GB, free: 2.539 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/9.182, allocations: 0 / 3.79 GB, free: 2.539 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001072/9.182, allocations: 44.11 kB / 3.79 GB, free: 2.496 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003738/9.186, allocations: 1.535 MB / 3.791 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/9.186, allocations: 8.031 kB / 3.791 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/9.189, allocations: 477.7 kB / 3.792 GB, free: 444 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7337/9.923, allocations: 1.071 MB / 3.793 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/9.923, allocations: 34.31 kB / 3.793 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/9.923, allocations: 68.91 kB / 3.793 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002299/9.926, allocations: 0.9303 MB / 3.794 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/9.928, allocations: 1.045 MB / 3.795 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/9.928, allocations: 8.016 kB / 3.795 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/9.928, allocations: 1.281 kB / 3.795 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/9.928, allocations: 42.73 kB / 3.795 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/9.936, allocations: 4.258 MB / 3.799 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/9.937, allocations: 0.5952 MB / 3.8 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/9.938, allocations: 377.8 kB / 3.8 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/9.938, allocations: 295.4 kB / 3.8 GB, free: 181.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/9.938, allocations: 43.22 kB / 3.8 GB, free: 181.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.757e-06/9.938, allocations: 0 / 3.8 GB, free: 181.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.002127/9.94, allocations: 0.7835 MB / 3.801 GB, free: 181.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/9.94, allocations: 58.06 kB / 3.801 GB, free: 181.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/9.941, allocations: 0.6433 MB / 3.802 GB, free: 181.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/9.941, allocations: 32.2 kB / 3.802 GB, free: 181.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/9.942, allocations: 0.5911 MB / 3.803 GB, free: 180.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/9.942, allocations: 229.3 kB / 3.803 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/9.942, allocations: 0 / 3.803 GB, free: 180.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/9.942, allocations: 332.1 kB / 3.803 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/9.943, allocations: 285.3 kB / 3.803 GB, free: 180.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/9.943, allocations: 494.6 kB / 3.804 GB, free: 180.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/9.944, allocations: 378.8 kB / 3.804 GB, free: 180.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/9.944, allocations: 6.188 kB / 3.804 GB, free: 180.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001555/9.945, allocations: 0.849 MB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/9.945, allocations: 9.75 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/9.945, allocations: 5.562 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/9.945, allocations: 8.594 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/9.946, allocations: 173.6 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/9.946, allocations: 14.17 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/9.948, allocations: 87.03 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/9.948, allocations: 33.34 kB / 3.805 GB, free: 180.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0001765/9.948, allocations: 121.3 kB / 3.805 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001309/9.949, allocations: 0.7293 MB / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/9.949, allocations: 103.2 kB / 3.806 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/9.95, allocations: 111 kB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/9.95, allocations: 5.75 kB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/9.95, allocations: 3.969 kB / 3.806 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/9.951, allocations: 0.8848 MB / 3.807 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/9.955, allocations: 2.092 MB / 3.809 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/9.955, allocations: 3.812 kB / 3.809 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/9.955, allocations: 130 kB / 3.809 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/9.956, allocations: 100.5 kB / 3.809 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/9.956, allocations: 12.03 kB / 3.81 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/9.958, allocations: 2.807 MB / 3.812 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/9.958, allocations: 6.25 kB / 3.812 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/9.96, allocations: 1.482 MB / 3.814 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/9.96, allocations: 275.7 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/9.96, allocations: 7.766 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/9.961, allocations: 55.66 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/9.961, allocations: 46.83 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/9.961, allocations: 33.5 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00063/9.962, allocations: 0.4898 MB / 3.815 GB, free: 175.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/9.962, allocations: 0 / 3.815 GB, free: 175.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001741/9.964, allocations: 0.5167 MB / 3.815 GB, free: 175.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004433/9.968, allocations: 4.73 MB / 3.82 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001114/9.969, allocations: 0.6688 MB / 3.82 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/9.969, allocations: 3.625 kB / 3.82 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/9.97, allocations: 0.5466 MB / 3.821 GB, free: 173.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/9.973, allocations: 0.6223 MB / 3.822 GB, free: 173.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/9.977, allocations: 2.236 MB / 3.824 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/9.978, allocations: 1.253 MB / 3.825 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001176/9.979, allocations: 287.6 kB / 3.825 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/9.98, allocations: 458.5 kB / 3.826 GB, free: 171.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/9.98, allocations: 3 kB / 3.826 GB, free: 171.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/10.08, allocations: 41.26 MB / 3.866 GB, free: 171.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/10.08, allocations: 179.6 kB / 3.866 GB, free: 170.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/13.62, allocations: 0 / 3.866 GB, free: 170.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)