Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.0016/0.001599, allocations: 181 kB / 377.1 MB, free: 1.547 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.164/2.164, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.001129/0.001129, allocations: 90.98 kB / 0.7509 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005298, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3705, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.409/2.78, allocations: 401.7 MB / 1.381 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004528/2.781, allocations: 96.09 kB / 1.381 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5583/3.339, allocations: 242.9 MB / 1.618 GB, free: 98.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.078e-06/3.339, allocations: 0 / 1.618 GB, free: 98.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002677/3.339, allocations: 31.94 kB / 1.618 GB, free: 98.54 MB / 0.9323 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.00549/3.345, allocations: 1.41 MB / 1.619 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/3.345, allocations: 19.95 kB / 1.619 GB, free: 97.05 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005538/3.345, allocations: 122.5 kB / 1.62 GB, free: 96.92 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/3.347, allocations: 138.5 kB / 1.62 GB, free: 96.79 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/3.364, allocations: 7.653 MB / 1.627 GB, free: 89.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/3.364, allocations: 58 kB / 1.627 GB, free: 88.96 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/3.365, allocations: 80 kB / 1.627 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/3.367, allocations: 0.9669 MB / 1.628 GB, free: 87.88 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/3.367, allocations: 11.84 kB / 1.628 GB, free: 87.86 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/3.367, allocations: 28 kB / 1.628 GB, free: 87.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/3.367, allocations: 27.98 kB / 1.628 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/3.368, allocations: 0.6908 MB / 1.629 GB, free: 87.11 MB / 0.9323 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.006212/3.375, allocations: 4.538 MB / 1.633 GB, free: 82.24 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/3.375, allocations: 391.9 kB / 1.634 GB, free: 81.84 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/3.376, allocations: 433.8 kB / 1.634 GB, free: 81.33 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/3.376, allocations: 46.83 kB / 1.634 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=40): time 3.977e-06/3.376, allocations: 0 / 1.634 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.001775/3.377, allocations: 0.8379 MB / 1.635 GB, free: 80.41 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/3.377, allocations: 55.41 kB / 1.635 GB, free: 80.34 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/3.379, allocations: 0.8325 MB / 1.636 GB, free: 79.51 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/3.379, allocations: 37.64 kB / 1.636 GB, free: 79.46 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/3.379, allocations: 0.5028 MB / 1.636 GB, free: 78.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/3.379, allocations: 145.9 kB / 1.637 GB, free: 78.81 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/3.379, allocations: 12 kB / 1.637 GB, free: 78.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/3.379, allocations: 333.9 kB / 1.637 GB, free: 78.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/3.38, allocations: 217 kB / 1.637 GB, free: 78.25 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/3.38, allocations: 444.4 kB / 1.638 GB, free: 77.72 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/3.381, allocations: 305.4 kB / 1.638 GB, free: 77.42 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/3.381, allocations: 4 kB / 1.638 GB, free: 77.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001198/3.382, allocations: 0.7949 MB / 1.639 GB, free: 76.61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005847/3.382, allocations: 2.182 MB / 1.641 GB, free: 74.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/3.382, allocations: 4 kB / 1.641 GB, free: 74.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/3.383, allocations: 60.83 kB / 1.641 GB, free: 74.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/3.383, allocations: 115.8 kB / 1.641 GB, free: 74.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/3.384, allocations: 0.6381 MB / 1.642 GB, free: 73.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.385, allocations: 111.3 kB / 1.642 GB, free: 73.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/3.385, allocations: 32 kB / 1.642 GB, free: 73.28 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/3.385, allocations: 4 kB / 1.642 GB, free: 73.27 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009404/3.386, allocations: 0.6674 MB / 1.642 GB, free: 72.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/3.386, allocations: 4 kB / 1.642 GB, free: 72.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/3.386, allocations: 69.38 kB / 1.642 GB, free: 72.53 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/3.386, allocations: 111.8 kB / 1.643 GB, free: 72.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/3.388, allocations: 1.662 MB / 1.644 GB, free: 70.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/3.389, allocations: 99.52 kB / 1.644 GB, free: 70.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/3.389, allocations: 28 kB / 1.644 GB, free: 70.5 MB / 0.9323 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.0006773/3.389, allocations: 484.6 kB / 1.645 GB, free: 70.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/3.39, allocations: 86.97 kB / 1.645 GB, free: 69.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/3.391, allocations: 0.6496 MB / 1.645 GB, free: 69.27 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/3.391, allocations: 4 kB / 1.645 GB, free: 69.27 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/3.391, allocations: 0 / 1.645 GB, free: 69.27 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000717/3.391, allocations: 0.8185 MB / 1.646 GB, free: 68.36 MB / 0.9323 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.00265/3.394, allocations: 1.668 MB / 1.648 GB, free: 66.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/3.394, allocations: 7.984 kB / 1.648 GB, free: 66.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/3.394, allocations: 80.02 kB / 1.648 GB, free: 66.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/3.395, allocations: 44.72 kB / 1.648 GB, free: 66.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/3.395, allocations: 15.98 kB / 1.648 GB, free: 66.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003019/3.395, allocations: 0.5717 MB / 1.649 GB, free: 65.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.395, allocations: 0 / 1.649 GB, free: 65.86 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/3.396, allocations: 0.9988 MB / 1.65 GB, free: 64.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/3.397, allocations: 260 kB / 1.65 GB, free: 64.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/3.397, allocations: 11.98 kB / 1.65 GB, free: 64.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/3.398, allocations: 71.77 kB / 1.65 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/3.398, allocations: 27.92 kB / 1.65 GB, free: 64.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/3.398, allocations: 27.97 kB / 1.65 GB, free: 64.39 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000819/3.399, allocations: 0.659 MB / 1.651 GB, free: 63.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.71e-07/3.399, allocations: 0 / 1.651 GB, free: 63.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002483/3.401, allocations: 0.5925 MB / 1.651 GB, free: 63.14 MB / 0.9323 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.002348/3.403, allocations: 2.08 MB / 1.653 GB, free: 61.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001613/3.405, allocations: 1.001 MB / 1.654 GB, free: 60 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/3.405, allocations: 0 / 1.654 GB, free: 60 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/3.405, allocations: 244 kB / 1.654 GB, free: 59.76 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/3.408, allocations: 0.5661 MB / 1.655 GB, free: 59.21 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/3.418, allocations: 9.671 MB / 1.664 GB, free: 49.29 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/3.419, allocations: 1.24 MB / 1.666 GB, free: 48.02 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001328/3.421, allocations: 438.9 kB / 1.666 GB, free: 47.58 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/3.421, allocations: 363.3 kB / 1.666 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/3.421, allocations: 0 / 1.666 GB, free: 47.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/3.486, allocations: 30.22 MB / 1.696 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.486, allocations: 284 kB / 1.696 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/6.896, allocations: 6.75 kB / 1.696 GB, free: 16.98 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)