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 2.694/2.694, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001545/0.001544, allocations: 184.8 kB / 360.6 MB, free: 7.301 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.159/2.159, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 93.5 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.431e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8306, allocations: 115.3 MB / 0.9634 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.002/6.832, allocations: 2.086 GB / 3.049 GB, free: 32.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/6.833, allocations: 88.92 kB / 3.049 GB, free: 32.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.366/14.2, allocations: 1.323 GB / 4.372 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.815e-06/14.2, allocations: 0 / 4.372 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002945/14.2, allocations: 55.16 kB / 4.372 GB, free: 128.5 MB / 0.9636 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.008589/14.21, allocations: 2.174 MB / 4.374 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/14.21, allocations: 9.562 kB / 4.374 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/14.21, allocations: 0.4993 MB / 4.374 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/14.22, allocations: 1.409 MB / 4.376 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/14.22, allocations: 117.6 kB / 4.376 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/14.22, allocations: 99.75 kB / 4.376 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00337/14.22, allocations: 1.166 MB / 4.377 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/14.23, allocations: 1.436 MB / 4.379 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/14.23, allocations: 3.938 kB / 4.379 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/14.23, allocations: 3.781 kB / 4.379 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.086e-05/14.23, allocations: 51.98 kB / 4.379 GB, free: 126.6 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01386/14.24, allocations: 7.95 MB / 4.386 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/14.24, allocations: 0.8054 MB / 4.387 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009134/14.24, allocations: 474.9 kB / 4.388 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007848/14.24, allocations: 323.9 kB / 4.388 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/14.24, allocations: 45.31 kB / 4.388 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 4.318e-06/14.24, allocations: 0 / 4.388 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.00872/14.25, allocations: 2.567 MB / 4.39 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/14.25, allocations: 62.69 kB / 4.39 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/14.25, allocations: 0.8803 MB / 4.391 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/14.25, allocations: 32.14 kB / 4.391 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/14.26, allocations: 0.8108 MB / 4.392 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/14.26, allocations: 355.7 kB / 4.393 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/14.26, allocations: 0 / 4.393 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001082/14.26, allocations: 357.6 kB / 4.393 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008683/14.26, allocations: 371 kB / 4.393 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/14.26, allocations: 0.7659 MB / 4.394 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/14.26, allocations: 0.5458 MB / 4.394 GB, free: 119 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/14.26, allocations: 3.938 kB / 4.394 GB, free: 119 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003198/14.26, allocations: 1.262 MB / 4.396 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008476/14.26, allocations: 3.636 MB / 4.399 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/14.26, allocations: 10.44 kB / 4.399 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.846e-05/14.26, allocations: 22.86 kB / 4.399 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/14.27, allocations: 279.1 kB / 4.4 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/14.27, allocations: 22.59 kB / 4.4 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/14.27, allocations: 153.7 kB / 4.4 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/14.27, allocations: 54.66 kB / 4.4 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/14.27, allocations: 3.875 kB / 4.4 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/14.27, allocations: 1.063 MB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/14.27, allocations: 11.52 kB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/14.27, allocations: 20.5 kB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/14.27, allocations: 275 kB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/14.27, allocations: 21.2 kB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/14.28, allocations: 148 kB / 4.401 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/14.28, allocations: 50.69 kB / 4.401 GB, free: 115 MB / 0.9636 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 () * 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.0004945/14.28, allocations: 143.5 kB / 4.401 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002847/14.28, allocations: 0.9681 MB / 4.402 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/14.28, allocations: 159.1 kB / 4.403 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/14.29, allocations: 1.056 MB / 4.404 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/14.29, allocations: 7.906 kB / 4.404 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/14.29, allocations: 0 / 4.404 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002076/14.29, allocations: 1.007 MB / 4.405 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00727/14.29, allocations: 2.5 MB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/14.29, allocations: 3.344 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002392/14.3, allocations: 256.5 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/14.3, allocations: 11.34 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/14.3, allocations: 19.03 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/14.3, allocations: 3.719 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/14.3, allocations: 3.969 kB / 4.407 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/14.3, allocations: 1.768 MB / 4.409 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/14.3, allocations: 328.6 kB / 4.409 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/14.3, allocations: 7.656 kB / 4.409 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/14.31, allocations: 131.8 kB / 4.409 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/14.31, allocations: 63.25 kB / 4.41 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/14.31, allocations: 45.62 kB / 4.41 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001302/14.31, allocations: 0.6559 MB / 4.41 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.41e-07/14.31, allocations: 3 kB / 4.41 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004317/14.31, allocations: 0.9118 MB / 4.411 GB, free: 111.2 MB / 0.9636 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 () * 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.009863/14.32, allocations: 6.024 MB / 4.417 GB, free: 108 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00415/14.33, allocations: 1.572 MB / 4.419 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/14.33, allocations: 0 / 4.419 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/14.33, allocations: 474 kB / 4.419 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007952/14.33, allocations: 0.843 MB / 4.42 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/14.34, allocations: 3.092 MB / 4.423 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/14.35, allocations: 1.478 MB / 4.424 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004854/14.35, allocations: 0.6316 MB / 4.425 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/14.35, allocations: 0.6606 MB / 4.426 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.303e-06/14.35, allocations: 4 kB / 4.426 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/14.54, allocations: 63.13 MB / 4.487 GB, free: 55.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/14.54, allocations: 171 kB / 4.487 GB, free: 55.41 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.591/20.14, allocations: 4 kB / 4.487 GB, free: 55.4 MB / 0.9636 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)