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.675/1.675, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001278/0.001278, allocations: 174.9 kB / 326.5 MB, free: 2.246 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.99/1.99, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00103/0.00103, allocations: 98.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 9.469 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8412/1.09, allocations: 199.2 MB / 1.095 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02327/1.113, allocations: 14.82 MB / 1.109 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/1.117, allocations: 62.41 kB / 1.109 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005062/1.122, allocations: 1.075 MB / 1.11 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01591/1.138, allocations: 3.483 MB / 1.114 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006757/1.145, allocations: 1.814 MB / 1.115 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00762/1.153, allocations: 3.155 MB / 1.118 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/1.156, allocations: 1.341 MB / 1.12 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005982/1.162, allocations: 1.857 MB / 1.122 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/1.165, allocations: 1.146 MB / 1.123 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006323/1.166, allocations: 84.84 kB / 1.123 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005354/1.171, allocations: 1.25 MB / 1.124 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/1.173, allocations: 0.6358 MB / 1.125 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/1.174, allocations: 459.7 kB / 1.125 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004554/1.179, allocations: 2.345 MB / 1.127 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.179, allocations: 0 / 1.127 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/1.179, allocations: 1.859 kB / 1.127 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.898e-05/1.179, allocations: 0 / 1.127 GB, free: 18.6 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.005499/1.185, allocations: 2.117 MB / 1.129 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.185, allocations: 10.78 kB / 1.129 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004783/1.185, allocations: 220.4 kB / 1.13 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/1.188, allocations: 0.5114 MB / 1.13 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/1.191, allocations: 1.23 MB / 1.131 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/1.192, allocations: 176.4 kB / 1.132 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/1.192, allocations: 167.7 kB / 1.132 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/1.195, allocations: 1.722 MB / 1.133 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/1.195, allocations: 1.656 kB / 1.133 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.195, allocations: 59 kB / 1.133 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/1.196, allocations: 61.97 kB / 1.133 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/1.199, allocations: 1.417 MB / 1.135 GB, free: 15.8 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.01383/1.213, allocations: 7.655 MB / 1.142 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/1.215, allocations: 0.9648 MB / 1.143 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/1.215, allocations: 153.7 kB / 1.143 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.215, allocations: 52.58 kB / 1.143 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=105): time 7.223e-06/1.215, allocations: 0 / 1.143 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.008366/1.224, allocations: 3.277 MB / 1.147 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.224, allocations: 63.09 kB / 1.147 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.226, allocations: 1.241 MB / 1.148 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/1.226, allocations: 53.14 kB / 1.148 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006428/1.226, allocations: 0.7948 MB / 1.149 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004535/1.227, allocations: 397.8 kB / 1.149 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/1.227, allocations: 28.44 kB / 1.149 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.227, allocations: 354.4 kB / 1.15 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/1.228, allocations: 452.2 kB / 1.15 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.229, allocations: 0.8093 MB / 1.151 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/1.23, allocations: 0.5695 MB / 1.151 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.23, allocations: 3.312 kB / 1.151 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002751/1.233, allocations: 1.426 MB / 1.153 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/1.234, allocations: 3.127 MB / 1.156 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.234, allocations: 7.656 kB / 1.156 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.234, allocations: 13.84 kB / 1.156 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.236, allocations: 295.8 kB / 1.156 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/1.236, allocations: 17.25 kB / 1.156 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.238, allocations: 168.8 kB / 1.156 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.238, allocations: 55.55 kB / 1.156 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.238, allocations: 1.656 kB / 1.156 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002158/1.24, allocations: 1.248 MB / 1.158 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.24, allocations: 8.406 kB / 1.158 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.24, allocations: 14.09 kB / 1.158 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.241, allocations: 292.3 kB / 1.158 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/1.241, allocations: 20.39 kB / 1.158 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.243, allocations: 176.2 kB / 1.158 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/1.243, allocations: 50.31 kB / 1.158 GB, free: 3.32 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.001241/1.245, allocations: 0.5091 MB / 1.159 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/1.245, allocations: 170.2 kB / 1.159 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.248, allocations: 1.23 MB / 1.16 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.248, allocations: 16.83 kB / 1.16 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.248, allocations: 0 / 1.16 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001729/1.249, allocations: 1.131 MB / 1.161 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/1.255, allocations: 2.902 MB / 1.164 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.255, allocations: 2.125 kB / 1.164 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.256, allocations: 273.6 kB / 1.164 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.256, allocations: 5.969 kB / 1.164 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/1.257, allocations: 36.67 kB / 1.164 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/1.257, allocations: 3.344 kB / 1.164 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.257, allocations: 7.094 kB / 1.164 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/1.26, allocations: 2.015 MB / 1.166 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.261, allocations: 356.8 kB / 1.166 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/1.262, allocations: 28.62 kB / 1.167 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.263, allocations: 160.5 kB / 1.167 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.263, allocations: 76.62 kB / 1.167 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/1.263, allocations: 39.17 kB / 1.167 GB, free: 344 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001255/1.264, allocations: 0.8342 MB / 1.168 GB, free: 88 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/1.264, allocations: 0 / 1.168 GB, free: 88 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002343/1.267, allocations: 0.7796 MB / 1.168 GB, free: 84 kB / 0.7136 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.004336/1.271, allocations: 3.204 MB / 1.171 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003455/1.275, allocations: 1.804 MB / 1.173 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.275, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.276, allocations: 0.5483 MB / 1.174 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/1.281, allocations: 0.9581 MB / 1.175 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.306, allocations: 15.69 MB / 1.19 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.307, allocations: 1.491 MB / 1.191 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002799/1.31, allocations: 0.5641 MB / 1.192 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.311, allocations: 0.6962 MB / 1.193 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/1.311, allocations: 0 / 1.193 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08995/1.401, allocations: 45.25 MB / 1.237 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.401, allocations: 225.1 kB / 1.237 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/5.178, allocations: 3.938 kB / 1.237 GB, free: 13.09 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)