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.5/1.5, allocations: 249.5 MB / 257 MB, free: 6.836 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.0009975/0.0009975, allocations: 164.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008494/0.0008495, allocations: 96.42 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.194e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.765/1.994, allocations: 393.3 MB / 1.269 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/1.995, allocations: 97.67 kB / 1.269 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4658/2.461, allocations: 234.5 MB / 1.498 GB, free: 97.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.835e-06/2.461, allocations: 0 / 1.498 GB, free: 97.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001899/2.461, allocations: 39.86 kB / 1.499 GB, free: 97.71 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.003573/2.465, allocations: 1.194 MB / 1.5 GB, free: 96.47 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.895e-05/2.465, allocations: 12.56 kB / 1.5 GB, free: 96.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/2.466, allocations: 142.4 kB / 1.5 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/2.481, allocations: 7.398 MB / 1.507 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/2.482, allocations: 24 kB / 1.507 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/2.482, allocations: 44 kB / 1.507 GB, free: 88.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/2.483, allocations: 0.6364 MB / 1.508 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.484, allocations: 0.8346 MB / 1.509 GB, free: 87.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/2.484, allocations: 7.938 kB / 1.509 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/2.484, allocations: 3.953 kB / 1.509 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/2.484, allocations: 28 kB / 1.509 GB, free: 87.18 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.005136/2.49, allocations: 4.371 MB / 1.513 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/2.49, allocations: 376.1 kB / 1.513 GB, free: 82.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/2.49, allocations: 251.6 kB / 1.513 GB, free: 81.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004519/2.491, allocations: 429.8 kB / 1.514 GB, free: 81.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/2.491, allocations: 42.84 kB / 1.514 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 4.117e-06/2.491, allocations: 3.938 kB / 1.514 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001314/2.492, allocations: 0.5228 MB / 1.514 GB, free: 80.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/2.492, allocations: 59.41 kB / 1.514 GB, free: 80.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/2.493, allocations: 0.7621 MB / 1.515 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/2.493, allocations: 29.7 kB / 1.515 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/2.494, allocations: 0.4949 MB / 1.516 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/2.494, allocations: 141.9 kB / 1.516 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/2.494, allocations: 0 / 1.516 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/2.494, allocations: 333.9 kB / 1.516 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/2.494, allocations: 205 kB / 1.516 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/2.494, allocations: 419.3 kB / 1.517 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/2.495, allocations: 313.2 kB / 1.517 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/2.495, allocations: 0 / 1.517 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001148/2.496, allocations: 0.7322 MB / 1.518 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006364/2.497, allocations: 2.178 MB / 1.52 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/2.497, allocations: 12 kB / 1.52 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/2.497, allocations: 52.83 kB / 1.52 GB, free: 74.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/2.497, allocations: 111.8 kB / 1.52 GB, free: 74.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003976/2.498, allocations: 0.6381 MB / 1.521 GB, free: 73.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/2.499, allocations: 95.38 kB / 1.521 GB, free: 73.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/2.499, allocations: 35.98 kB / 1.521 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/2.499, allocations: 5.406 kB / 1.521 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000893/2.5, allocations: 0.6014 MB / 1.521 GB, free: 73.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/2.5, allocations: 7.953 kB / 1.521 GB, free: 73.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/2.5, allocations: 56.83 kB / 1.521 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/2.5, allocations: 115.8 kB / 1.522 GB, free: 73.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/2.501, allocations: 1.604 MB / 1.523 GB, free: 71.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/2.502, allocations: 79.53 kB / 1.523 GB, free: 71.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/2.502, allocations: 35.98 kB / 1.523 GB, free: 71.22 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.0001764/2.502, allocations: 120.8 kB / 1.523 GB, free: 71.09 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000799/2.503, allocations: 0.5208 MB / 1.524 GB, free: 70.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/2.503, allocations: 90.83 kB / 1.524 GB, free: 70.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009983/2.504, allocations: 0.5909 MB / 1.525 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/2.504, allocations: 4 kB / 1.525 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/2.504, allocations: 3.953 kB / 1.525 GB, free: 69.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007181/2.505, allocations: 0.7891 MB / 1.525 GB, free: 68.98 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.002301/2.507, allocations: 1.517 MB / 1.527 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.507, allocations: 0 / 1.527 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/2.508, allocations: 80.02 kB / 1.527 GB, free: 67.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/2.508, allocations: 36.83 kB / 1.527 GB, free: 67.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/2.508, allocations: 8 kB / 1.527 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002922/2.508, allocations: 0.5679 MB / 1.528 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/2.508, allocations: 4.031 kB / 1.528 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/2.509, allocations: 0.967 MB / 1.528 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/2.509, allocations: 248 kB / 1.529 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/2.51, allocations: 7.984 kB / 1.529 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/2.51, allocations: 59.78 kB / 1.529 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/2.51, allocations: 23.97 kB / 1.529 GB, free: 65.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/2.51, allocations: 27.97 kB / 1.529 GB, free: 65.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006288/2.511, allocations: 0.5888 MB / 1.529 GB, free: 64.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.511, allocations: 4 kB / 1.529 GB, free: 64.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00217/2.513, allocations: 0.565 MB / 1.53 GB, free: 64.11 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.001998/2.515, allocations: 2.05 MB / 1.532 GB, free: 62.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001372/2.516, allocations: 0.9568 MB / 1.533 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.516, allocations: 0 / 1.533 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/2.517, allocations: 232.2 kB / 1.533 GB, free: 60.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/2.519, allocations: 0.5266 MB / 1.534 GB, free: 60.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/2.522, allocations: 1.908 MB / 1.535 GB, free: 58.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/2.523, allocations: 1.245 MB / 1.537 GB, free: 57.06 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001561/2.524, allocations: 0.6623 MB / 1.537 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/2.525, allocations: 339.3 kB / 1.538 GB, free: 56.06 MB / 0.8698 GB Notification: Performance of SimCode: time 2.094e-06/2.525, allocations: 0 / 1.538 GB, free: 56.06 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0635/2.588, allocations: 27.94 MB / 1.565 GB, free: 28.28 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/2.589, allocations: 212.7 kB / 1.565 GB, free: 27.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/5.62, allocations: 2.578 kB / 1.565 GB, free: 27.99 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)