Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.317/1.317, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009511/0.0009513, allocations: 176.8 kB / 325.8 MB, free: 2.688 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.35/1.35, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007244/0.0007244, allocations: 92.25 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002997, allocations: 13.38 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.539/0.6983, allocations: 207.7 MB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.7111, allocations: 10.08 MB / 1.109 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.7131, allocations: 49.97 kB / 1.109 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.7147, allocations: 0.6746 MB / 1.11 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005608/0.7204, allocations: 2.687 MB / 1.112 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.7236, allocations: 1.315 MB / 1.114 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005578/0.7292, allocations: 5.889 MB / 1.119 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.7306, allocations: 1.115 MB / 1.12 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.7326, allocations: 1.222 MB / 1.122 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.7351, allocations: 1.254 MB / 1.123 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.7353, allocations: 58.06 kB / 1.123 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.7397, allocations: 2.74 MB / 1.125 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005212/0.7403, allocations: 0.5376 MB / 1.126 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.7411, allocations: 0.7726 MB / 1.127 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.7447, allocations: 3.114 MB / 1.13 GB, free: 364 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7447, allocations: 4.562 kB / 1.13 GB, free: 360 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7447, allocations: 0 / 1.13 GB, free: 360 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.7447, allocations: 4.438 kB / 1.13 GB, free: 356 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.002712/0.7474, allocations: 1.614 MB / 1.131 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7475, allocations: 9.688 kB / 1.131 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.7477, allocations: 176 kB / 1.132 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.7508, allocations: 491.6 kB / 1.132 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.7526, allocations: 1.06 MB / 1.133 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.7526, allocations: 93.81 kB / 1.133 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.7528, allocations: 113.6 kB / 1.133 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7548, allocations: 1.179 MB / 1.134 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.7548, allocations: 0 / 1.134 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7549, allocations: 48.09 kB / 1.134 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.755, allocations: 43.14 kB / 1.135 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.7564, allocations: 1.073 MB / 1.136 GB, free: 14.82 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005807/0.7622, allocations: 4.576 MB / 1.14 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.763, allocations: 0.6037 MB / 1.141 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.7634, allocations: 423 kB / 1.141 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.7638, allocations: 287 kB / 1.141 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.7638, allocations: 51.8 kB / 1.141 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 1.984e-06/0.7638, allocations: 0 / 1.141 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.002419/0.7663, allocations: 1.327 MB / 1.143 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.7663, allocations: 58 kB / 1.143 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7674, allocations: 1.071 MB / 1.144 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.7675, allocations: 46.83 kB / 1.144 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.7678, allocations: 0.5901 MB / 1.144 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.768, allocations: 242.6 kB / 1.145 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.7681, allocations: 67.62 kB / 1.145 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7683, allocations: 344.3 kB / 1.145 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.7686, allocations: 298.8 kB / 1.145 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.7692, allocations: 0.5091 MB / 1.146 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.7701, allocations: 0.8289 MB / 1.147 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7702, allocations: 6.969 kB / 1.147 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001264/0.7714, allocations: 0.9541 MB / 1.148 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7715, allocations: 12.75 kB / 1.148 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7715, allocations: 2.969 kB / 1.148 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7715, allocations: 11.91 kB / 1.148 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.7721, allocations: 164.6 kB / 1.148 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.7721, allocations: 11.44 kB / 1.148 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.7732, allocations: 143.5 kB / 1.148 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.7733, allocations: 38.03 kB / 1.148 GB, free: 9.375 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004515/0.7738, allocations: 375.7 kB / 1.148 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.7739, allocations: 124.5 kB / 1.148 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.7742, allocations: 136.3 kB / 1.148 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.7742, allocations: 9.547 kB / 1.149 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7742, allocations: 6.906 kB / 1.149 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.7753, allocations: 0.932 MB / 1.149 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.7784, allocations: 2.322 MB / 1.152 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7784, allocations: 2 kB / 1.152 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.779, allocations: 125.8 kB / 1.152 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/0.7794, allocations: 93.62 kB / 1.152 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.7794, allocations: 20.73 kB / 1.152 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.7817, allocations: 2.867 MB / 1.155 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7817, allocations: 6.688 kB / 1.155 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.7836, allocations: 1.407 MB / 1.156 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.7841, allocations: 319.4 kB / 1.156 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.7842, allocations: 21.34 kB / 1.156 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/0.7852, allocations: 77.38 kB / 1.157 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.7853, allocations: 66.77 kB / 1.157 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.7854, allocations: 29.17 kB / 1.157 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008763/0.7862, allocations: 0.7591 MB / 1.157 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7862, allocations: 0 / 1.157 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0011/0.7873, allocations: 424.1 kB / 1.158 GB, free: 2.023 MB / 0.7136 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/0.7898, allocations: 2.063 MB / 1.16 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7909, allocations: 0.7123 MB / 1.16 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.791, allocations: 3.219 kB / 1.16 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.7919, allocations: 0.581 MB / 1.161 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/0.7958, allocations: 0.8466 MB / 1.162 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.809, allocations: 10.21 MB / 1.172 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008451/0.8098, allocations: 1.244 MB / 1.173 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001343/0.8112, allocations: 330.6 kB / 1.173 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.8118, allocations: 475.3 kB / 1.174 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.8118, allocations: 0 / 1.174 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.8648, allocations: 35.69 MB / 1.209 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.865, allocations: 293.9 kB / 1.209 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/3.9, allocations: 0 / 1.209 GB, free: 0.9883 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)