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.871/1.871, allocations: 288.4 MB / 303.3 MB, free: 8.117 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.001073/0.001073, allocations: 180.5 kB / 372 MB, free: 10.27 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.897/1.897, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009512/0.0009512, allocations: 78.44 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 10.47 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02362/0.2841, allocations: 21.46 MB / 1.001 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.2958, allocations: 6.326 MB / 1.007 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.2974, allocations: 27.81 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2988, allocations: 242.5 kB / 1.007 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.3026, allocations: 0.7268 MB / 1.008 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.3057, allocations: 0.6061 MB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007122/0.3128, allocations: 3.909 MB / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.315, allocations: 0.9106 MB / 1.013 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.3174, allocations: 0.9414 MB / 1.014 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.319, allocations: 0.8322 MB / 1.015 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.3192, allocations: 40 kB / 1.015 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.321, allocations: 0.5847 MB / 1.015 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.3213, allocations: 211.1 kB / 1.016 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.3219, allocations: 249.1 kB / 1.016 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.324, allocations: 1.415 MB / 1.017 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.324, allocations: 0 / 1.017 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.324, allocations: 0 / 1.017 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.324, allocations: 0 / 1.017 GB, free: 4.988 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.002591/0.3266, allocations: 1.304 MB / 1.018 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3267, allocations: 12.03 kB / 1.018 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.3269, allocations: 126.5 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.3273, allocations: 138.5 kB / 1.019 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.3292, allocations: 1.142 MB / 1.02 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.3293, allocations: 58 kB / 1.02 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3294, allocations: 80 kB / 1.02 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.331, allocations: 1.037 MB / 1.021 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3311, allocations: 4 kB / 1.021 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.3312, allocations: 35.95 kB / 1.021 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.3312, allocations: 20 kB / 1.021 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3324, allocations: 0.761 MB / 1.022 GB, free: 124 kB / 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.005566/0.338, allocations: 4.6 MB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.3386, allocations: 397.7 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3389, allocations: 265.3 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/0.3394, allocations: 421.8 kB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.3395, allocations: 47.14 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.995e-06/0.3395, allocations: 0 / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001973/0.3415, allocations: 0.855 MB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3415, allocations: 55.41 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3427, allocations: 0.8957 MB / 1.029 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.3428, allocations: 37.7 kB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/0.3432, allocations: 0.495 MB / 1.03 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3434, allocations: 145.9 kB / 1.03 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3434, allocations: 12 kB / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3436, allocations: 334 kB / 1.03 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.3439, allocations: 217 kB / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.3445, allocations: 438.6 kB / 1.031 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.3449, allocations: 313.4 kB / 1.031 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3449, allocations: 4 kB / 1.031 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001454/0.3464, allocations: 0.8058 MB / 1.032 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.3466, allocations: 250.1 kB / 1.032 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3466, allocations: 7.938 kB / 1.032 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.3471, allocations: 92.78 kB / 1.032 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3475, allocations: 107.8 kB / 1.032 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005763/0.3481, allocations: 0.6303 MB / 1.033 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/0.3489, allocations: 107.3 kB / 1.033 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.349, allocations: 31.98 kB / 1.033 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.349, allocations: 4 kB / 1.033 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/0.3501, allocations: 0.6718 MB / 1.034 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3501, allocations: 4 kB / 1.034 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.3503, allocations: 68.81 kB / 1.034 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.3507, allocations: 111.8 kB / 1.034 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3523, allocations: 1.72 MB / 1.036 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.3531, allocations: 95.53 kB / 1.036 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.3531, allocations: 27.98 kB / 1.036 GB, free: 1.039 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.0007855/0.3539, allocations: 492.6 kB / 1.036 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.3541, allocations: 86.97 kB / 1.036 GB, free: 472 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3553, allocations: 0.6408 MB / 1.037 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3553, allocations: 8 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3553, allocations: 0 / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008881/0.3562, allocations: 0.8243 MB / 1.038 GB, free: 14.89 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.002692/0.3589, allocations: 1.668 MB / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3589, allocations: 0 / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3593, allocations: 87.88 kB / 1.039 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.3594, allocations: 36.88 kB / 1.039 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.3594, allocations: 8 kB / 1.039 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/0.3599, allocations: 0.5719 MB / 1.04 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3599, allocations: 4.031 kB / 1.04 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3613, allocations: 0.9372 MB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/0.3618, allocations: 267.8 kB / 1.041 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3619, allocations: 8 kB / 1.041 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.3625, allocations: 76.16 kB / 1.041 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.3626, allocations: 31.91 kB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.3626, allocations: 31.97 kB / 1.041 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008843/0.3635, allocations: 0.6239 MB / 1.042 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3635, allocations: 7.938 kB / 1.042 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001778/0.3653, allocations: 0.5535 MB / 1.042 GB, free: 9.832 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.002076/0.3674, allocations: 1.655 MB / 1.044 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.3692, allocations: 0.993 MB / 1.045 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3692, allocations: 4.562 kB / 1.045 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.3696, allocations: 243.8 kB / 1.045 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.3723, allocations: 0.5525 MB / 1.046 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.383, allocations: 6.094 MB / 1.052 GB, free: 36 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.384, allocations: 1.224 MB / 1.053 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001452/0.3855, allocations: 440.1 kB / 1.053 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.386, allocations: 359.2 kB / 1.054 GB, free: 14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.386, allocations: 0 / 1.054 GB, free: 14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5225/0.9085, allocations: 28.25 MB / 1.081 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.9087, allocations: 300.2 kB / 1.082 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/3.856, allocations: 0 / 1.082 GB, free: 80.55 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)