Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001601/0.001601, allocations: 181.2 kB / 370.8 MB, free: 10.87 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.279/2.279, allocations: 205.4 MB / 0.6295 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.001157/0.001157, allocations: 98.39 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 15.27 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02694/0.2573, allocations: 19.59 MB / 0.9974 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.269, allocations: 5.835 MB / 1.003 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.2703, allocations: 23.81 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.2719, allocations: 326.4 kB / 1.003 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.2759, allocations: 0.9161 MB / 1.004 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.2799, allocations: 0.9225 MB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007577/0.2875, allocations: 1.943 MB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003531/0.2911, allocations: 0.907 MB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.2948, allocations: 0.798 MB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.2971, allocations: 0.5638 MB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.2976, allocations: 36 kB / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.3011, allocations: 467.3 kB / 1.01 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008756/0.3021, allocations: 203.1 kB / 1.01 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008042/0.3029, allocations: 253.1 kB / 1.01 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.3071, allocations: 1.348 MB / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3072, allocations: 0 / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.677e-06/0.3072, allocations: 0 / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.426e-05/0.3073, allocations: 4 kB / 1.012 GB, free: 10.11 MB / 0.6355 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.005191/0.3125, allocations: 1.285 MB / 1.013 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.3126, allocations: 11.97 kB / 1.013 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005805/0.3132, allocations: 134.4 kB / 1.013 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.3144, allocations: 142.5 kB / 1.013 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/0.3195, allocations: 1.045 MB / 1.014 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3197, allocations: 58 kB / 1.014 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.3201, allocations: 72 kB / 1.014 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.3244, allocations: 1.029 MB / 1.015 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.836e-05/0.3245, allocations: 15.8 kB / 1.015 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.3247, allocations: 32 kB / 1.015 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.86e-05/0.3249, allocations: 24 kB / 1.015 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.3284, allocations: 0.757 MB / 1.016 GB, free: 5.363 MB / 0.6355 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.01379/0.3423, allocations: 4.651 MB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3438, allocations: 397.3 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007985/0.3446, allocations: 425.8 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.679e-05/0.3448, allocations: 42.89 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 5.62e-06/0.3448, allocations: 0 / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.005313/0.3501, allocations: 0.8559 MB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3503, allocations: 55.41 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/0.3537, allocations: 0.9738 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.354, allocations: 37.7 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.355, allocations: 0.495 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.3555, allocations: 157.7 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.3557, allocations: 12 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3559, allocations: 330 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.3569, allocations: 224.9 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3583, allocations: 426.7 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3597, allocations: 313.6 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.3598, allocations: 4 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00408/0.3639, allocations: 0.7908 MB / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.3653, allocations: 2.192 MB / 1.028 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.3654, allocations: 8 kB / 1.028 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3665, allocations: 80.78 kB / 1.028 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.3676, allocations: 119.8 kB / 1.028 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.3687, allocations: 0.6303 MB / 1.029 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.3708, allocations: 115.3 kB / 1.029 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.371, allocations: 24 kB / 1.029 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.371, allocations: 4 kB / 1.029 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002861/0.3739, allocations: 0.6794 MB / 1.03 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/0.374, allocations: 8.688 kB / 1.03 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.3744, allocations: 60.83 kB / 1.03 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3755, allocations: 115.8 kB / 1.03 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.3807, allocations: 1.728 MB / 1.032 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3821, allocations: 111.4 kB / 1.032 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.261e-05/0.3822, allocations: 24 kB / 1.032 GB, free: 4.359 MB / 0.6511 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.001034/0.3833, allocations: 480.7 kB / 1.032 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.3836, allocations: 86.97 kB / 1.032 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3854, allocations: 0.6452 MB / 1.033 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.3855, allocations: 4 kB / 1.033 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3855, allocations: 0 / 1.033 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/0.3869, allocations: 0.8244 MB / 1.034 GB, free: 2.227 MB / 0.6511 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.004348/0.3913, allocations: 1.696 MB / 1.035 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3914, allocations: 0 / 1.035 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.392, allocations: 92 kB / 1.035 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.3922, allocations: 29.03 kB / 1.035 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/0.3923, allocations: 16 kB / 1.036 GB, free: 316 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/0.3929, allocations: 0.5679 MB / 1.036 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3929, allocations: 0 / 1.036 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.3953, allocations: 0.9985 MB / 1.037 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/0.3961, allocations: 287.7 kB / 1.037 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.3963, allocations: 8 kB / 1.037 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.3975, allocations: 74.5 kB / 1.037 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3977, allocations: 23.97 kB / 1.037 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.3978, allocations: 31.97 kB / 1.037 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002609/0.4004, allocations: 0.6902 MB / 1.038 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.22e-07/0.4005, allocations: 0 / 1.038 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005058/0.4056, allocations: 0.5651 MB / 1.039 GB, free: 12.97 MB / 0.6667 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.005259/0.4109, allocations: 1.981 MB / 1.041 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.414, allocations: 1.003 MB / 1.042 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.414, allocations: 0 / 1.042 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.4147, allocations: 253 kB / 1.042 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/0.4194, allocations: 0.5614 MB / 1.042 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.4372, allocations: 9.795 MB / 1.052 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.4384, allocations: 1.243 MB / 1.053 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002117/0.4405, allocations: 439.6 kB / 1.054 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007804/0.4413, allocations: 355.3 kB / 1.054 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.4413, allocations: 0 / 1.054 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7397/1.181, allocations: 28.85 MB / 1.082 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.181, allocations: 288.3 kB / 1.082 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/4.853, allocations: 3.266 kB / 1.082 GB, free: 81.7 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)