Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.149/3.149, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001397/0.001397, allocations: 178.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.403/2.403, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009876/0.000987, allocations: 86.16 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005659/0.0005661, allocations: 17.34 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2515, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.072/1.324, allocations: 221.3 MB / 1.195 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03551/1.36, allocations: 14.82 MB / 1.209 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/1.363, allocations: 66.97 kB / 1.209 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004595/1.368, allocations: 0.7957 MB / 1.21 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/1.382, allocations: 2.844 MB / 1.213 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007316/1.389, allocations: 1.358 MB / 1.214 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01221/1.402, allocations: 6.203 MB / 1.22 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/1.405, allocations: 1.271 MB / 1.221 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008532/1.414, allocations: 2.169 MB / 1.223 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005265/1.419, allocations: 1.642 MB / 1.225 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/1.42, allocations: 84 kB / 1.225 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007711/1.428, allocations: 1.504 MB / 1.227 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002064/1.43, allocations: 0.6736 MB / 1.227 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/1.432, allocations: 436.6 kB / 1.228 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00671/1.439, allocations: 2.432 MB / 1.23 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.439, allocations: 0 / 1.23 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.327e-06/1.439, allocations: 0 / 1.23 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001247/1.439, allocations: 0 / 1.23 GB, free: 10.28 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.007788/1.447, allocations: 2.125 MB / 1.232 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.447, allocations: 12.03 kB / 1.232 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009137/1.448, allocations: 215.1 kB / 1.232 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/1.453, allocations: 0.5047 MB / 1.233 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/1.457, allocations: 1.204 MB / 1.234 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/1.458, allocations: 194.2 kB / 1.234 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006017/1.458, allocations: 144 kB / 1.234 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006074/1.465, allocations: 1.733 MB / 1.236 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.517e-05/1.465, allocations: 8 kB / 1.236 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/1.465, allocations: 60 kB / 1.236 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/1.465, allocations: 62.62 kB / 1.236 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/1.471, allocations: 1.377 MB / 1.237 GB, free: 2.438 MB / 0.7605 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.01801/1.489, allocations: 8.187 MB / 1.245 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/1.492, allocations: 0.9165 MB / 1.246 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/1.494, allocations: 0.5458 MB / 1.247 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.495, allocations: 336.5 kB / 1.247 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.495, allocations: 47.56 kB / 1.247 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=96): time 6.382e-06/1.495, allocations: 0 / 1.247 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of matching and sorting (n=102): time 0.01379/1.509, allocations: 3.149 MB / 1.25 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/1.509, allocations: 60.41 kB / 1.25 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/1.512, allocations: 1.238 MB / 1.252 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003182/1.512, allocations: 49.7 kB / 1.252 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.513, allocations: 0.8171 MB / 1.252 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/1.514, allocations: 366.6 kB / 1.253 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.514, allocations: 28 kB / 1.253 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.514, allocations: 357.9 kB / 1.253 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/1.516, allocations: 426.4 kB / 1.254 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/1.518, allocations: 0.8429 MB / 1.254 GB, free: 80 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/1.521, allocations: 0.5456 MB / 1.255 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.521, allocations: 4 kB / 1.255 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004981/1.526, allocations: 1.402 MB / 1.256 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000373/1.526, allocations: 365.7 kB / 1.257 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/1.526, allocations: 12 kB / 1.257 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.063e-05/1.526, allocations: 16 kB / 1.257 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/1.53, allocations: 283.5 kB / 1.257 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.005e-05/1.53, allocations: 15.94 kB / 1.257 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.535, allocations: 173.1 kB / 1.257 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/1.535, allocations: 59.94 kB / 1.257 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.535, allocations: 4 kB / 1.257 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006591/1.542, allocations: 1.226 MB / 1.258 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/1.542, allocations: 8 kB / 1.258 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/1.542, allocations: 16 kB / 1.258 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/1.546, allocations: 271.6 kB / 1.259 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.195e-05/1.546, allocations: 23.92 kB / 1.259 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.55, allocations: 167.8 kB / 1.259 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000382/1.551, allocations: 55.94 kB / 1.259 GB, free: 11.32 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 150 * 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.002086/1.553, allocations: 0.5045 MB / 1.259 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/1.554, allocations: 166 kB / 1.26 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006237/1.56, allocations: 1.162 MB / 1.261 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.56, allocations: 8 kB / 1.261 GB, free: 9.461 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.56, allocations: 0 / 1.261 GB, free: 9.461 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00513/1.565, allocations: 1.092 MB / 1.262 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.579, allocations: 2.801 MB / 1.264 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.579, allocations: 0 / 1.264 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/1.583, allocations: 255.9 kB / 1.265 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.338e-05/1.583, allocations: 8 kB / 1.265 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/1.583, allocations: 27.98 kB / 1.265 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/1.583, allocations: 8 kB / 1.265 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.583, allocations: 3.938 kB / 1.265 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008595/1.592, allocations: 1.829 MB / 1.267 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.594, allocations: 335.1 kB / 1.267 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008083/1.595, allocations: 31.94 kB / 1.267 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.598, allocations: 147.6 kB / 1.267 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.598, allocations: 68.88 kB / 1.267 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.598, allocations: 40.16 kB / 1.267 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002137/1.6, allocations: 0.8188 MB / 1.268 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.002e-06/1.6, allocations: 3.938 kB / 1.268 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004079/1.605, allocations: 0.7656 MB / 1.269 GB, free: 1.059 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.006948/1.612, allocations: 2.554 MB / 1.271 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006136/1.618, allocations: 1.74 MB / 1.273 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.618, allocations: 0 / 1.273 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.62, allocations: 0.5214 MB / 1.273 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009255/1.629, allocations: 0.9711 MB / 1.274 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/1.659, allocations: 10.31 MB / 1.284 GB, free: 380 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/1.661, allocations: 1.438 MB / 1.286 GB, free: 14.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00386/1.665, allocations: 0.5524 MB / 1.286 GB, free: 14.34 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/1.667, allocations: 0.6828 MB / 1.287 GB, free: 13.66 MB / 0.823 GB Notification: Performance of SimCode: time 1.483e-06/1.667, allocations: 0 / 1.287 GB, free: 13.66 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.799, allocations: 44.4 MB / 1.33 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/1.8, allocations: 222.6 kB / 1.331 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/6.271, allocations: 10.47 kB / 1.331 GB, free: 1.449 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)