Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001157/0.001157, allocations: 180.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.001014/0.001013, allocations: 85.88 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.686e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8431, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.447/6.29, allocations: 2.087 GB / 3.06 GB, free: 41.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/6.291, allocations: 88.55 kB / 3.06 GB, free: 41.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.459/11.75, allocations: 1.323 GB / 4.383 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/11.75, allocations: 0 / 4.383 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001578/11.75, allocations: 54.42 kB / 4.383 GB, free: 129.2 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.005539/11.76, allocations: 2.171 MB / 4.385 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/11.76, allocations: 9.812 kB / 4.385 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/11.76, allocations: 0.5009 MB / 4.385 GB, free: 128 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/11.76, allocations: 1.404 MB / 4.387 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/11.76, allocations: 123 kB / 4.387 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/11.76, allocations: 97.25 kB / 4.387 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002048/11.76, allocations: 1.166 MB / 4.388 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/11.77, allocations: 1.432 MB / 4.39 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/11.77, allocations: 3.875 kB / 4.39 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/11.77, allocations: 0 / 4.39 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/11.77, allocations: 52.3 kB / 4.39 GB, free: 127.3 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.01042/11.78, allocations: 7.944 MB / 4.397 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/11.78, allocations: 0.8132 MB / 4.398 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/11.78, allocations: 480.5 kB / 4.399 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/11.78, allocations: 314.9 kB / 4.399 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/11.78, allocations: 46.03 kB / 4.399 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 3.387e-06/11.78, allocations: 0 / 4.399 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.005863/11.79, allocations: 2.571 MB / 4.401 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/11.79, allocations: 67.44 kB / 4.402 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/11.79, allocations: 0.8806 MB / 4.402 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/11.79, allocations: 28.64 kB / 4.402 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/11.79, allocations: 0.8178 MB / 4.403 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/11.79, allocations: 354.9 kB / 4.404 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/11.79, allocations: 0 / 4.404 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/11.79, allocations: 356.6 kB / 4.404 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/11.79, allocations: 376.5 kB / 4.404 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/11.79, allocations: 0.7538 MB / 4.405 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/11.79, allocations: 0.5513 MB / 4.406 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/11.79, allocations: 7.594 kB / 4.406 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001841/11.79, allocations: 1.255 MB / 4.407 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008713/11.79, allocations: 3.64 MB / 4.41 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/11.79, allocations: 14.91 kB / 4.41 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.655e-05/11.79, allocations: 15.69 kB / 4.41 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/11.79, allocations: 276.2 kB / 4.411 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/11.79, allocations: 23.3 kB / 4.411 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/11.8, allocations: 150.9 kB / 4.411 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/11.8, allocations: 56.98 kB / 4.411 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/11.8, allocations: 3.781 kB / 4.411 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/11.8, allocations: 1.06 MB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/11.8, allocations: 9.156 kB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/11.8, allocations: 15.44 kB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/11.8, allocations: 279.4 kB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/11.8, allocations: 25.38 kB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/11.8, allocations: 144.7 kB / 4.412 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/11.8, allocations: 52.41 kB / 4.412 GB, free: 113.2 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.0003172/11.8, allocations: 136.1 kB / 4.412 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001482/11.8, allocations: 0.9744 MB / 4.413 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/11.8, allocations: 158.7 kB / 4.414 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/11.8, allocations: 1.047 MB / 4.415 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/11.8, allocations: 23.53 kB / 4.415 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/11.8, allocations: 0 / 4.415 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/11.81, allocations: 1.007 MB / 4.416 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/11.81, allocations: 2.499 MB / 4.418 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/11.81, allocations: 3.812 kB / 4.418 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/11.81, allocations: 249 kB / 4.418 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/11.81, allocations: 10.53 kB / 4.418 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/11.81, allocations: 19.03 kB / 4.418 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/11.81, allocations: 14.64 kB / 4.418 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/11.81, allocations: 0 / 4.418 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/11.81, allocations: 1.775 MB / 4.42 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/11.81, allocations: 321.9 kB / 4.42 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/11.81, allocations: 18.08 kB / 4.42 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/11.82, allocations: 127 kB / 4.421 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/11.82, allocations: 65.7 kB / 4.421 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/11.82, allocations: 39.05 kB / 4.421 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008102/11.82, allocations: 0.6553 MB / 4.421 GB, free: 109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.41e-07/11.82, allocations: 0 / 4.421 GB, free: 109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002697/11.82, allocations: 0.9119 MB / 4.422 GB, free: 108.9 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.006634/11.83, allocations: 6.017 MB / 4.428 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002322/11.83, allocations: 1.572 MB / 4.43 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/11.83, allocations: 3.156 kB / 4.43 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/11.83, allocations: 468.9 kB / 4.43 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/11.83, allocations: 0.8604 MB / 4.431 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/11.84, allocations: 3.094 MB / 4.434 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/11.84, allocations: 1.476 MB / 4.435 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002419/11.84, allocations: 0.634 MB / 4.436 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/11.84, allocations: 0.6631 MB / 4.437 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of SimCode: time 8.32e-07/11.84, allocations: 0 / 4.437 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/11.95, allocations: 63.12 MB / 4.498 GB, free: 40.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/11.95, allocations: 174.6 kB / 4.498 GB, free: 40.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.984/16.93, allocations: 3.938 kB / 4.498 GB, free: 40.65 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)