Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.001023/0.001024, allocations: 90.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.32e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.687/1.914, allocations: 393 MB / 1.276 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004709/1.915, allocations: 95.92 kB / 1.276 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4926/2.407, allocations: 235.9 MB / 1.506 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.787e-06/2.407, allocations: 0 / 1.506 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001128/2.407, allocations: 31.94 kB / 1.506 GB, free: 90.5 MB / 0.8698 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.002522/2.41, allocations: 1.197 MB / 1.507 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/2.41, allocations: 8.031 kB / 1.507 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/2.41, allocations: 122.5 kB / 1.507 GB, free: 89.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/2.411, allocations: 142.4 kB / 1.508 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/2.429, allocations: 7.432 MB / 1.515 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/2.429, allocations: 58 kB / 1.515 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/2.429, allocations: 79.94 kB / 1.515 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/2.431, allocations: 0.9436 MB / 1.516 GB, free: 80.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/2.431, allocations: 7.938 kB / 1.516 GB, free: 80.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/2.431, allocations: 32 kB / 1.516 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/2.431, allocations: 23.95 kB / 1.516 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/2.432, allocations: 0.6831 MB / 1.517 GB, free: 79.57 MB / 0.8698 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.004478/2.436, allocations: 4.519 MB / 1.521 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/2.437, allocations: 392 kB / 1.521 GB, free: 74.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/2.437, allocations: 257.3 kB / 1.522 GB, free: 74.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/2.437, allocations: 433.8 kB / 1.522 GB, free: 73.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/2.437, allocations: 38.89 kB / 1.522 GB, free: 73.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 3.477e-06/2.437, allocations: 0 / 1.522 GB, free: 73.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.0009743/2.438, allocations: 0.5386 MB / 1.523 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/2.438, allocations: 67.3 kB / 1.523 GB, free: 72.87 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/2.439, allocations: 0.8209 MB / 1.524 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/2.439, allocations: 33.7 kB / 1.524 GB, free: 72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/2.44, allocations: 0.4951 MB / 1.524 GB, free: 71.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/2.44, allocations: 149.9 kB / 1.524 GB, free: 71.35 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/2.44, allocations: 8 kB / 1.524 GB, free: 71.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/2.44, allocations: 330 kB / 1.524 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/2.44, allocations: 213 kB / 1.525 GB, free: 70.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/2.441, allocations: 440.5 kB / 1.525 GB, free: 70.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/2.441, allocations: 313.4 kB / 1.525 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.441, allocations: 0 / 1.525 GB, free: 69.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00102/2.442, allocations: 0.7794 MB / 1.526 GB, free: 69.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006851/2.443, allocations: 2.178 MB / 1.528 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/2.443, allocations: 8 kB / 1.528 GB, free: 66.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/2.443, allocations: 60.81 kB / 1.528 GB, free: 66.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/2.443, allocations: 115.8 kB / 1.528 GB, free: 66.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/2.444, allocations: 0.6304 MB / 1.529 GB, free: 66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/2.445, allocations: 111.3 kB / 1.529 GB, free: 65.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/2.445, allocations: 35.92 kB / 1.529 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/2.445, allocations: 5.094 kB / 1.529 GB, free: 65.85 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008757/2.446, allocations: 0.6632 MB / 1.53 GB, free: 65.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/2.446, allocations: 8.688 kB / 1.53 GB, free: 65.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/2.446, allocations: 68.8 kB / 1.53 GB, free: 65.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/2.446, allocations: 115.8 kB / 1.53 GB, free: 64.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/2.448, allocations: 1.654 MB / 1.532 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/2.448, allocations: 95.44 kB / 1.532 GB, free: 63.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/2.448, allocations: 35.94 kB / 1.532 GB, free: 63.07 MB / 0.8698 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 () * 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.0001627/2.448, allocations: 140.8 kB / 1.532 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/2.449, allocations: 82.97 kB / 1.532 GB, free: 62.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/2.45, allocations: 0.6286 MB / 1.533 GB, free: 62.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.45, allocations: 4 kB / 1.533 GB, free: 62.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/2.45, allocations: 3.984 kB / 1.533 GB, free: 62.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006982/2.45, allocations: 0.8203 MB / 1.533 GB, free: 61.29 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.002153/2.452, allocations: 1.656 MB / 1.535 GB, free: 59.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/2.452, allocations: 4 kB / 1.535 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/2.453, allocations: 84 kB / 1.535 GB, free: 59.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/2.453, allocations: 44.77 kB / 1.535 GB, free: 59.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/2.453, allocations: 8 kB / 1.535 GB, free: 59.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/2.453, allocations: 0.5679 MB / 1.536 GB, free: 58.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.453, allocations: 0 / 1.536 GB, free: 58.81 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/2.454, allocations: 0.9789 MB / 1.537 GB, free: 57.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/2.455, allocations: 255.9 kB / 1.537 GB, free: 57.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/2.455, allocations: 15.94 kB / 1.537 GB, free: 57.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/2.455, allocations: 67.92 kB / 1.537 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/2.455, allocations: 31.95 kB / 1.537 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/2.455, allocations: 23.97 kB / 1.537 GB, free: 57.37 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006963/2.456, allocations: 0.6474 MB / 1.538 GB, free: 56.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.456, allocations: 0 / 1.538 GB, free: 56.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001961/2.458, allocations: 0.5925 MB / 1.538 GB, free: 56.13 MB / 0.8698 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 () * 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.002229/2.46, allocations: 2.08 MB / 1.54 GB, free: 54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001619/2.462, allocations: 1.009 MB / 1.541 GB, free: 52.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/2.462, allocations: 0 / 1.541 GB, free: 52.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/2.462, allocations: 244.5 kB / 1.542 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/2.465, allocations: 0.5596 MB / 1.542 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/2.468, allocations: 1.948 MB / 1.544 GB, free: 50.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/2.469, allocations: 1.245 MB / 1.545 GB, free: 48.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001487/2.47, allocations: 0.643 MB / 1.546 GB, free: 48.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/2.471, allocations: 343.3 kB / 1.546 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/2.471, allocations: 0 / 1.546 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06508/2.536, allocations: 31.49 MB / 1.577 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/2.536, allocations: 255.6 kB / 1.577 GB, free: 16.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/5.786, allocations: 2.812 kB / 1.577 GB, free: 16.41 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)