Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.553/1.553, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.0009952/0.0009953, allocations: 179.1 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006734/0.0006735, allocations: 94.3 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 15.94 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01659/0.2096, allocations: 21.47 MB / 1.001 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007136/0.2168, allocations: 6.336 MB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.2179, allocations: 23.81 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2189, allocations: 242.5 kB / 1.008 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.2214, allocations: 0.7709 MB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.2244, allocations: 0.6092 MB / 1.009 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005356/0.2297, allocations: 3.943 MB / 1.013 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.2313, allocations: 1.073 MB / 1.014 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.2331, allocations: 0.9336 MB / 1.015 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2346, allocations: 0.84 MB / 1.016 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.2348, allocations: 36 kB / 1.016 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.2365, allocations: 0.6822 MB / 1.016 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.2368, allocations: 203.1 kB / 1.016 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000833/0.2377, allocations: 0.546 MB / 1.017 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2392, allocations: 1.438 MB / 1.018 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2392, allocations: 8 kB / 1.018 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2392, allocations: 0 / 1.018 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.846e-05/0.2393, allocations: 0 / 1.018 GB, free: 3.965 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.002089/0.2414, allocations: 1.293 MB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2414, allocations: 12.03 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.2417, allocations: 126.7 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.2421, allocations: 139.4 kB / 1.02 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.244, allocations: 1.177 MB / 1.021 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.2441, allocations: 58 kB / 1.021 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2442, allocations: 76 kB / 1.021 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.2457, allocations: 1.037 MB / 1.022 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2457, allocations: 7.844 kB / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.2458, allocations: 35.98 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.2458, allocations: 20 kB / 1.022 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2468, allocations: 0.7609 MB / 1.023 GB, free: 15.08 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 preOpt removeSimpleEquations (simulation): time 0.004174/0.251, allocations: 4.6 MB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.2515, allocations: 395.2 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.2518, allocations: 263.9 kB / 1.028 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.2521, allocations: 429.8 kB / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2522, allocations: 42.89 kB / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 1.402e-06/0.2522, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001636/0.2538, allocations: 0.8672 MB / 1.029 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2539, allocations: 55.41 kB / 1.03 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.2548, allocations: 0.8918 MB / 1.03 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2548, allocations: 37.7 kB / 1.03 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.2552, allocations: 0.4911 MB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2553, allocations: 145.9 kB / 1.031 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.2553, allocations: 12 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2554, allocations: 333.8 kB / 1.031 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2557, allocations: 225 kB / 1.032 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.2561, allocations: 430.7 kB / 1.032 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.2568, allocations: 0.6667 MB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2568, allocations: 4 kB / 1.033 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001182/0.258, allocations: 0.8018 MB / 1.033 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.2582, allocations: 253.7 kB / 1.034 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2582, allocations: 4 kB / 1.034 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.2585, allocations: 92.69 kB / 1.034 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.2589, allocations: 115.8 kB / 1.034 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004055/0.2593, allocations: 0.6304 MB / 1.034 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.2599, allocations: 111.3 kB / 1.035 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.26, allocations: 28 kB / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.26, allocations: 4 kB / 1.035 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009439/0.261, allocations: 0.6754 MB / 1.035 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.261, allocations: 4 kB / 1.035 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.2611, allocations: 65.3 kB / 1.035 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.2614, allocations: 115.8 kB / 1.035 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.2628, allocations: 1.728 MB / 1.037 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.2634, allocations: 95.47 kB / 1.037 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.2635, allocations: 28 kB / 1.037 GB, free: 15.54 MB / 0.6667 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.0005001/0.264, allocations: 484.7 kB / 1.038 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2641, allocations: 86.97 kB / 1.038 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/0.265, allocations: 0.64 MB / 1.038 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.265, allocations: 4 kB / 1.038 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.265, allocations: 0 / 1.038 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007641/0.2658, allocations: 0.8127 MB / 1.039 GB, free: 13.41 MB / 0.6667 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.002044/0.2679, allocations: 1.68 MB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2679, allocations: 0 / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.2682, allocations: 83.89 kB / 1.041 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2683, allocations: 48.81 kB / 1.041 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.2683, allocations: 12 kB / 1.041 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/0.2686, allocations: 0.5719 MB / 1.042 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2686, allocations: 0 / 1.042 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2697, allocations: 0.9411 MB / 1.042 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.27, allocations: 263.8 kB / 1.043 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.2701, allocations: 8 kB / 1.043 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.2707, allocations: 79.77 kB / 1.043 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.2707, allocations: 27.91 kB / 1.043 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.2708, allocations: 23.98 kB / 1.043 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006575/0.2714, allocations: 0.6239 MB / 1.043 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.262e-06/0.2714, allocations: 0 / 1.043 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001359/0.2728, allocations: 0.565 MB / 1.044 GB, free: 8.332 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.001857/0.2747, allocations: 1.655 MB / 1.046 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.2761, allocations: 0.9918 MB / 1.047 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2761, allocations: 0 / 1.047 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.2765, allocations: 244.7 kB / 1.047 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.279, allocations: 0.5588 MB / 1.047 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.2872, allocations: 6.099 MB / 1.053 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2879, allocations: 1.22 MB / 1.055 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001019/0.2889, allocations: 435.2 kB / 1.055 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.2893, allocations: 355.3 kB / 1.055 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.2893, allocations: 0 / 1.055 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.525, allocations: 28.56 MB / 1.083 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.525, allocations: 291.4 kB / 1.083 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.726/5.251, allocations: 3.391 kB / 1.083 GB, free: 81.72 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)