Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.268/1.268, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008974/0.0008974, allocations: 179.6 kB / 325.8 MB, free: 2.699 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.521/1.521, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007447/0.0007446, allocations: 99.83 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002944, allocations: 12.97 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5862/0.7501, allocations: 240.5 MB / 1.131 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.7696, allocations: 16.14 MB / 1.147 GB, free: 424 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.7722, allocations: 70.31 kB / 1.147 GB, free: 424 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.7747, allocations: 1.021 MB / 1.148 GB, free: 400 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008503/0.7832, allocations: 3.616 MB / 1.151 GB, free: 200 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.7876, allocations: 1.686 MB / 1.153 GB, free: 140 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009008/0.7966, allocations: 7.734 MB / 1.161 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.7987, allocations: 1.416 MB / 1.162 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.8039, allocations: 2.402 MB / 1.164 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.8079, allocations: 1.771 MB / 1.166 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.8082, allocations: 87.28 kB / 1.166 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006536/0.8147, allocations: 3.131 MB / 1.169 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008207/0.8156, allocations: 0.704 MB / 1.17 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.8172, allocations: 1.057 MB / 1.171 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.8222, allocations: 3.689 MB / 1.175 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8222, allocations: 0 / 1.175 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8222, allocations: 0 / 1.175 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.73e-05/0.8222, allocations: 7.938 kB / 1.175 GB, free: 8.426 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003538/0.8258, allocations: 2.135 MB / 1.177 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.8258, allocations: 9.844 kB / 1.177 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/0.8261, allocations: 229.4 kB / 1.177 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.8288, allocations: 0.5092 MB / 1.177 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8307, allocations: 1.289 MB / 1.179 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.8309, allocations: 173.6 kB / 1.179 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.8311, allocations: 159.6 kB / 1.179 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.8336, allocations: 1.753 MB / 1.181 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.8337, allocations: 9.375 kB / 1.181 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.8338, allocations: 60.25 kB / 1.181 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.8338, allocations: 61.06 kB / 1.181 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.8361, allocations: 1.424 MB / 1.182 GB, free: 3.66 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.008304/0.8445, allocations: 7.653 MB / 1.19 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.8459, allocations: 0.9713 MB / 1.191 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.8468, allocations: 0.5615 MB / 1.191 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.8474, allocations: 334.9 kB / 1.191 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.8475, allocations: 59.5 kB / 1.192 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.484e-06/0.8475, allocations: 0 / 1.192 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111): time 0.006832/0.8543, allocations: 3.284 MB / 1.195 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.8544, allocations: 64.41 kB / 1.195 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.8557, allocations: 1.254 MB / 1.196 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.8558, allocations: 53.7 kB / 1.196 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.8564, allocations: 0.7928 MB / 1.197 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.8567, allocations: 397.8 kB / 1.197 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.8568, allocations: 109.7 kB / 1.197 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.857, allocations: 357.9 kB / 1.198 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.8577, allocations: 462.4 kB / 1.198 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.8588, allocations: 0.8268 MB / 1.199 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.8607, allocations: 1.261 MB / 1.2 GB, free: 440 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8607, allocations: 0 / 1.2 GB, free: 440 kB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002312/0.8631, allocations: 1.447 MB / 1.202 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.8633, allocations: 325.4 kB / 1.202 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8633, allocations: 8 kB / 1.202 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.8634, allocations: 16 kB / 1.202 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.8645, allocations: 292.1 kB / 1.202 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.8645, allocations: 25.94 kB / 1.202 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.866, allocations: 163.6 kB / 1.202 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.8661, allocations: 55.98 kB / 1.202 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.8661, allocations: 4 kB / 1.202 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001954/0.8681, allocations: 1.257 MB / 1.204 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8681, allocations: 12.22 kB / 1.204 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.8681, allocations: 16 kB / 1.204 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8691, allocations: 287.5 kB / 1.204 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.8691, allocations: 19.94 kB / 1.204 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.8705, allocations: 169.4 kB / 1.204 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.8706, allocations: 51.98 kB / 1.204 GB, free: 12.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0007609/0.8714, allocations: 0.5162 MB / 1.205 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.8716, allocations: 166 kB / 1.205 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.8737, allocations: 1.229 MB / 1.206 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8737, allocations: 16 kB / 1.206 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8737, allocations: 0 / 1.206 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/0.8754, allocations: 1.142 MB / 1.207 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.8798, allocations: 2.903 MB / 1.21 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8798, allocations: 0 / 1.21 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.881, allocations: 275.9 kB / 1.21 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.881, allocations: 7.938 kB / 1.21 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.8811, allocations: 31.98 kB / 1.21 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.8811, allocations: 4 kB / 1.21 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8811, allocations: 4 kB / 1.21 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.884, allocations: 1.918 MB / 1.212 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.8847, allocations: 354.9 kB / 1.213 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.8848, allocations: 24 kB / 1.213 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.8861, allocations: 162.8 kB / 1.213 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.8862, allocations: 72.84 kB / 1.213 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.8863, allocations: 43.97 kB / 1.213 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001005/0.8873, allocations: 0.8384 MB / 1.214 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8873, allocations: 0 / 1.214 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001909/0.8892, allocations: 0.7929 MB / 1.214 GB, free: 1.629 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (111): * Single equations (assignments): 111 * 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 Backend phase and start with SimCode phase: time 0.003594/0.8928, allocations: 2.646 MB / 1.217 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.8959, allocations: 1.814 MB / 1.219 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8959, allocations: 4 kB / 1.219 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.8968, allocations: 0.5521 MB / 1.219 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/0.9013, allocations: 0.9706 MB / 1.22 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.9203, allocations: 14.06 MB / 1.234 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/0.9213, allocations: 1.457 MB / 1.235 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002059/0.9234, allocations: 0.5719 MB / 1.236 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/0.9243, allocations: 0.6945 MB / 1.237 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.9243, allocations: 0 / 1.237 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/1.104, allocations: 44.22 MB / 1.28 GB, free: 14.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/1.105, allocations: 256.3 kB / 1.28 GB, free: 14.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.584/4.688, allocations: 3.938 kB / 1.28 GB, free: 14.04 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)