Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.114/2.114, allocations: 251 MB / 265.9 MB, free: 11.7 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.001607/0.001606, allocations: 179.5 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.579/2.579, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001471/0.001471, allocations: 106.1 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000882/0.000882, allocations: 14.25 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2396, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.48, allocations: 392.9 MB / 1.283 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/1.481, allocations: 102.8 kB / 1.283 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.429/2.909, allocations: 236.5 MB / 1.514 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/2.909, allocations: 0 / 1.514 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001293/2.909, allocations: 35.92 kB / 1.514 GB, free: 245.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003808/2.913, allocations: 1.418 MB / 1.515 GB, free: 244 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/2.913, allocations: 8.031 kB / 1.515 GB, free: 244 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003144/2.914, allocations: 122.5 kB / 1.515 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/2.914, allocations: 138.6 kB / 1.515 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02315/2.937, allocations: 7.473 MB / 1.523 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/2.938, allocations: 61.94 kB / 1.523 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/2.938, allocations: 79.92 kB / 1.523 GB, free: 236 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/2.94, allocations: 0.963 MB / 1.524 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/2.94, allocations: 0 / 1.524 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/2.94, allocations: 35.95 kB / 1.524 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/2.94, allocations: 20 kB / 1.524 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/2.942, allocations: 0.6986 MB / 1.524 GB, free: 234.3 MB / 0.8855 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.006845/2.949, allocations: 4.53 MB / 1.529 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/2.949, allocations: 388.1 kB / 1.529 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/2.95, allocations: 433.8 kB / 1.53 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/2.95, allocations: 38.88 kB / 1.53 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.975e-06/2.95, allocations: 4 kB / 1.53 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.002415/2.952, allocations: 0.8418 MB / 1.53 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/2.952, allocations: 55.41 kB / 1.531 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/2.954, allocations: 0.8325 MB / 1.531 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.572e-05/2.954, allocations: 37.7 kB / 1.531 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/2.954, allocations: 0.495 MB / 1.532 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/2.955, allocations: 149.8 kB / 1.532 GB, free: 226 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/2.955, allocations: 8 kB / 1.532 GB, free: 226 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/2.955, allocations: 330 kB / 1.532 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/2.955, allocations: 221 kB / 1.533 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/2.956, allocations: 440.4 kB / 1.533 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/2.956, allocations: 309.4 kB / 1.533 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/2.956, allocations: 0 / 1.533 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001811/2.958, allocations: 0.7906 MB / 1.534 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004497/2.959, allocations: 2.175 MB / 1.536 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/2.959, allocations: 4 kB / 1.536 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/2.959, allocations: 68.75 kB / 1.536 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/2.96, allocations: 115.8 kB / 1.536 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005633/2.96, allocations: 0.6342 MB / 1.537 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/2.962, allocations: 115.4 kB / 1.537 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/2.962, allocations: 28 kB / 1.537 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/2.962, allocations: 4 kB / 1.537 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/2.963, allocations: 0.664 MB / 1.538 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/2.963, allocations: 8.156 kB / 1.538 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/2.964, allocations: 68.8 kB / 1.538 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/2.964, allocations: 123.7 kB / 1.538 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/2.966, allocations: 1.658 MB / 1.54 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/2.968, allocations: 95.55 kB / 1.54 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/2.968, allocations: 31.98 kB / 1.54 GB, free: 217.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008912/2.969, allocations: 494.2 kB / 1.54 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/2.969, allocations: 90.88 kB / 1.54 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/2.97, allocations: 0.6259 MB / 1.541 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/2.97, allocations: 8 kB / 1.541 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/2.97, allocations: 0 / 1.541 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/2.972, allocations: 0.8242 MB / 1.542 GB, free: 215.5 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.003559/2.975, allocations: 1.66 MB / 1.543 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/2.975, allocations: 0 / 1.543 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/2.976, allocations: 87.88 kB / 1.543 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/2.976, allocations: 40.77 kB / 1.543 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/2.976, allocations: 16 kB / 1.543 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/2.976, allocations: 0.5682 MB / 1.544 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.976, allocations: 4.078 kB / 1.544 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/2.978, allocations: 0.9945 MB / 1.545 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/2.979, allocations: 255.9 kB / 1.545 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/2.979, allocations: 11.95 kB / 1.545 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/2.98, allocations: 63.84 kB / 1.545 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/2.98, allocations: 39.89 kB / 1.545 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/2.98, allocations: 15.98 kB / 1.545 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001186/2.981, allocations: 0.6551 MB / 1.546 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/2.981, allocations: 0 / 1.546 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002742/2.984, allocations: 0.5962 MB / 1.547 GB, free: 210.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002927/2.987, allocations: 2.078 MB / 1.549 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00229/2.99, allocations: 0.9879 MB / 1.55 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/2.99, allocations: 1.625 kB / 1.55 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/2.99, allocations: 247.7 kB / 1.55 GB, free: 207 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/2.995, allocations: 0.5626 MB / 1.55 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/3.008, allocations: 9.694 MB / 1.56 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/3.009, allocations: 1.24 MB / 1.561 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002039/3.011, allocations: 431 kB / 1.561 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/3.012, allocations: 363.2 kB / 1.562 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.413e-06/3.012, allocations: 0 / 1.562 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08006/3.092, allocations: 30.01 MB / 1.591 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/3.092, allocations: 275.9 kB / 1.591 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/6.568, allocations: 1.719 kB / 1.591 GB, free: 164.4 MB / 0.8855 GB