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.444/1.444, allocations: 252 MB / 267 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.001119/0.001119, allocations: 187.9 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.001014/0.001014, allocations: 87.97 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 9 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8094/1.058, allocations: 221.7 MB / 1.117 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02376/1.081, allocations: 14.99 MB / 1.131 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/1.085, allocations: 67.06 kB / 1.132 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/1.089, allocations: 0.796 MB / 1.132 GB, free: 3.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.099, allocations: 2.862 MB / 1.135 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005877/1.105, allocations: 1.409 MB / 1.136 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009949/1.115, allocations: 6.431 MB / 1.143 GB, free: 3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/1.118, allocations: 1.308 MB / 1.144 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00893/1.127, allocations: 2.22 MB / 1.146 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/1.132, allocations: 1.699 MB / 1.148 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000943/1.133, allocations: 86.03 kB / 1.148 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006163/1.14, allocations: 1.514 MB / 1.149 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/1.141, allocations: 0.6935 MB / 1.15 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001837/1.143, allocations: 451.7 kB / 1.151 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/1.148, allocations: 2.504 MB / 1.153 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.148, allocations: 6.062 kB / 1.153 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/1.148, allocations: 0 / 1.153 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00017/1.148, allocations: 4 kB / 1.153 GB, free: 16.48 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.006286/1.155, allocations: 2.152 MB / 1.155 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.155, allocations: 8.25 kB / 1.155 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007861/1.155, allocations: 221.2 kB / 1.155 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/1.159, allocations: 0.5128 MB / 1.156 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.163, allocations: 1.24 MB / 1.157 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/1.163, allocations: 180.9 kB / 1.157 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005666/1.164, allocations: 157.7 kB / 1.157 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006104/1.17, allocations: 1.741 MB / 1.159 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/1.17, allocations: 0 / 1.159 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/1.17, allocations: 59.38 kB / 1.159 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/1.171, allocations: 68.88 kB / 1.159 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/1.175, allocations: 1.411 MB / 1.161 GB, free: 13.36 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.01133/1.186, allocations: 7.655 MB / 1.168 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.188, allocations: 0.9637 MB / 1.169 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009513/1.189, allocations: 0.5626 MB / 1.17 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007388/1.19, allocations: 337.2 kB / 1.17 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/1.19, allocations: 52.03 kB / 1.17 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=105): time 4.218e-06/1.19, allocations: 0 / 1.17 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.008101/1.198, allocations: 3.272 MB / 1.173 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/1.198, allocations: 62.25 kB / 1.173 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.2, allocations: 1.243 MB / 1.174 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/1.2, allocations: 53.36 kB / 1.174 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/1.201, allocations: 0.7943 MB / 1.175 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000403/1.201, allocations: 397.4 kB / 1.176 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/1.201, allocations: 27.66 kB / 1.176 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.202, allocations: 350 kB / 1.176 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/1.202, allocations: 459.6 kB / 1.176 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.204, allocations: 0.8139 MB / 1.177 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.205, allocations: 0.5713 MB / 1.178 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.205, allocations: 2.094 kB / 1.178 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002554/1.207, allocations: 1.422 MB / 1.179 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.207, allocations: 322.4 kB / 1.179 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.207, allocations: 8 kB / 1.179 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.207, allocations: 20 kB / 1.179 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.209, allocations: 287.5 kB / 1.18 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/1.209, allocations: 22.47 kB / 1.18 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.211, allocations: 169.5 kB / 1.18 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/1.211, allocations: 49.56 kB / 1.18 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.211, allocations: 6.531 kB / 1.18 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/1.213, allocations: 1.249 MB / 1.181 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.213, allocations: 12.22 kB / 1.181 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.213, allocations: 16 kB / 1.181 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.214, allocations: 284.2 kB / 1.181 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/1.214, allocations: 18.7 kB / 1.181 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/1.216, allocations: 175 kB / 1.182 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.216, allocations: 45.94 kB / 1.182 GB, free: 2.016 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.217, allocations: 0.5166 MB / 1.182 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.218, allocations: 173.9 kB / 1.182 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/1.22, allocations: 1.236 MB / 1.184 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.22, allocations: 8 kB / 1.184 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.22, allocations: 4 kB / 1.184 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/1.222, allocations: 1.136 MB / 1.185 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/1.227, allocations: 2.906 MB / 1.188 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.227, allocations: 3.953 kB / 1.188 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.229, allocations: 266.3 kB / 1.188 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.229, allocations: 11.98 kB / 1.188 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/1.229, allocations: 30.12 kB / 1.188 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.229, allocations: 4 kB / 1.188 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.229, allocations: 7.984 kB / 1.188 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/1.232, allocations: 1.898 MB / 1.19 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.233, allocations: 363.5 kB / 1.19 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/1.233, allocations: 26.67 kB / 1.19 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.235, allocations: 164.8 kB / 1.19 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.235, allocations: 72 kB / 1.19 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/1.235, allocations: 45.84 kB / 1.19 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001196/1.236, allocations: 0.8273 MB / 1.191 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.236, allocations: 0 / 1.191 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002504/1.239, allocations: 0.7843 MB / 1.192 GB, free: 10.07 MB / 0.7292 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 (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.003918/1.243, allocations: 2.639 MB / 1.194 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.246, allocations: 1.802 MB / 1.196 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.246, allocations: 4 kB / 1.196 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/1.247, allocations: 0.5466 MB / 1.197 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.252, allocations: 0.973 MB / 1.198 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.271, allocations: 10.66 MB / 1.208 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.273, allocations: 1.456 MB / 1.21 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002561/1.275, allocations: 0.5758 MB / 1.21 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/1.276, allocations: 0.6939 MB / 1.211 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of SimCode: time 1.403e-06/1.276, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08614/1.362, allocations: 45.28 MB / 1.255 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/1.363, allocations: 238.4 kB / 1.255 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.777/5.139, allocations: 2.812 kB / 1.255 GB, free: 12.7 MB / 0.7917 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)