Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.656/1.656, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001192/0.001192, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.994/1.994, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008197/0.0008196, allocations: 95.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.495e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7766, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/6.353, allocations: 2.104 GB / 3.077 GB, free: 1.098 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/6.353, allocations: 87.95 kB / 3.077 GB, free: 1.012 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.302/8.656, allocations: 463.7 MB / 3.53 GB, free: 220.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/8.656, allocations: 0 / 3.53 GB, free: 220.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.687e-05/8.656, allocations: 29.25 kB / 3.53 GB, free: 220.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00455/8.66, allocations: 1.485 MB / 3.532 GB, free: 220.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/8.66, allocations: 7.594 kB / 3.532 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/8.662, allocations: 287.8 kB / 3.532 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/8.664, allocations: 0.8288 MB / 3.533 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/8.664, allocations: 25.41 kB / 3.533 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/8.664, allocations: 42.5 kB / 3.533 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/8.665, allocations: 0.8508 MB / 3.534 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/8.667, allocations: 0.876 MB / 3.535 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/8.667, allocations: 0 / 3.535 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/8.667, allocations: 3.906 kB / 3.535 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-05/8.667, allocations: 72.23 kB / 3.535 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/8.672, allocations: 3.403 MB / 3.538 GB, free: 218.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/8.673, allocations: 0.8678 MB / 3.539 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/8.674, allocations: 343 kB / 3.539 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/8.674, allocations: 197.6 kB / 3.539 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/8.674, allocations: 43.38 kB / 3.539 GB, free: 217.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/8.674, allocations: 0 / 3.539 GB, free: 217.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.001597/8.676, allocations: 0.6999 MB / 3.54 GB, free: 217.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/8.676, allocations: 114.3 kB / 3.54 GB, free: 217.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/8.677, allocations: 0.5461 MB / 3.541 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/8.677, allocations: 25.7 kB / 3.541 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/8.677, allocations: 425.3 kB / 3.541 GB, free: 217.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/8.677, allocations: 211 kB / 3.541 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/8.677, allocations: 3.188 kB / 3.541 GB, free: 217.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001344/8.677, allocations: 386 kB / 3.542 GB, free: 217 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/8.678, allocations: 295.3 kB / 3.542 GB, free: 217 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/8.678, allocations: 426.2 kB / 3.542 GB, free: 216.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/8.683, allocations: 1.257 MB / 3.544 GB, free: 216.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/8.683, allocations: 3.375 kB / 3.544 GB, free: 216.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005979/8.689, allocations: 1.72 MB / 3.545 GB, free: 216.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002398/8.689, allocations: 0.8778 MB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/8.69, allocations: 3.391 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/8.69, allocations: 7.625 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/8.69, allocations: 146.5 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/8.69, allocations: 10.94 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/8.691, allocations: 87.48 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/8.691, allocations: 29.38 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/8.691, allocations: 6.562 kB / 3.546 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005318/8.697, allocations: 1.529 MB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/8.697, allocations: 3.906 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/8.697, allocations: 6.625 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/8.697, allocations: 147.4 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/8.697, allocations: 7.062 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/8.698, allocations: 72.44 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/8.698, allocations: 26.53 kB / 3.548 GB, free: 215.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002165/8.699, allocations: 120.3 kB / 3.548 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001099/8.7, allocations: 0.653 MB / 3.549 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/8.7, allocations: 90.83 kB / 3.549 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/8.701, allocations: 0.7177 MB / 3.55 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/8.701, allocations: 7.281 kB / 3.55 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/8.701, allocations: 3.969 kB / 3.55 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008707/8.702, allocations: 0.6914 MB / 3.55 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/8.705, allocations: 1.991 MB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/8.705, allocations: 3.969 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/8.706, allocations: 141.2 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/8.706, allocations: 7.688 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/8.706, allocations: 15.3 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/8.706, allocations: 7.531 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.706, allocations: 4.25 kB / 3.552 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/8.707, allocations: 1.442 MB / 3.554 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/8.708, allocations: 237 kB / 3.554 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/8.708, allocations: 3.906 kB / 3.554 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/8.709, allocations: 49.88 kB / 3.554 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/8.709, allocations: 49.16 kB / 3.554 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/8.709, allocations: 23.34 kB / 3.554 GB, free: 214.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004835/8.709, allocations: 433.3 kB / 3.555 GB, free: 214 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.709, allocations: 0 / 3.555 GB, free: 214 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002517/8.712, allocations: 0.8655 MB / 3.555 GB, free: 213.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.00508/8.717, allocations: 4.766 MB / 3.56 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001583/8.718, allocations: 1.053 MB / 3.561 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/8.718, allocations: 0.9375 kB / 3.561 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/8.719, allocations: 324.9 kB / 3.561 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/8.721, allocations: 441.4 kB / 3.562 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/8.725, allocations: 1.811 MB / 3.564 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/8.725, allocations: 1.105 MB / 3.565 GB, free: 210.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001391/8.727, allocations: 423.4 kB / 3.565 GB, free: 210.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/8.727, allocations: 323 kB / 3.565 GB, free: 210.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/8.727, allocations: 1.875 kB / 3.565 GB, free: 210.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06707/8.794, allocations: 37.6 MB / 3.602 GB, free: 208.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/8.795, allocations: 183.7 kB / 3.602 GB, free: 208.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/12.24, allocations: 2.25 kB / 3.602 GB, free: 208.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)