Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.193/2.193, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 189.3 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 109.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 52.08 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01646/0.2746, allocations: 23.24 MB / 1.241 GB, free: 93.86 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007628/0.2822, allocations: 6.892 MB / 1.248 GB, free: 86.94 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009026/0.2832, allocations: 27.81 kB / 1.248 GB, free: 86.91 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.284, allocations: 262.5 kB / 1.248 GB, free: 86.66 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.2859, allocations: 0.8396 MB / 1.249 GB, free: 85.82 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.2874, allocations: 0.6871 MB / 1.249 GB, free: 85.14 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.2904, allocations: 4.702 MB / 1.254 GB, free: 80.42 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000975/0.2913, allocations: 1.092 MB / 1.255 GB, free: 79.31 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.2925, allocations: 0.9763 MB / 1.256 GB, free: 78.33 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.2932, allocations: 0.9255 MB / 1.257 GB, free: 77.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.2933, allocations: 48 kB / 1.257 GB, free: 77.35 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2945, allocations: 0.7173 MB / 1.258 GB, free: 76.63 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2947, allocations: 243 kB / 1.258 GB, free: 76.39 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2952, allocations: 0.5712 MB / 1.258 GB, free: 75.82 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.2964, allocations: 1.834 MB / 1.26 GB, free: 73.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2964, allocations: 4 kB / 1.26 GB, free: 73.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2965, allocations: 0 / 1.26 GB, free: 73.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2965, allocations: 4 kB / 1.26 GB, free: 73.97 MB / 0.823 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.00178/0.2983, allocations: 1.55 MB / 1.262 GB, free: 72.37 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2983, allocations: 11.98 kB / 1.262 GB, free: 72.36 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.2987, allocations: 147.4 kB / 1.262 GB, free: 72.21 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.3003, allocations: 1.193 MB / 1.263 GB, free: 70.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.3003, allocations: 58 kB / 1.263 GB, free: 70.92 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3005, allocations: 72 kB / 1.263 GB, free: 70.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3016, allocations: 1.041 MB / 1.264 GB, free: 69.76 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.3016, allocations: 7.938 kB / 1.264 GB, free: 69.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.3017, allocations: 35.94 kB / 1.264 GB, free: 69.72 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.3017, allocations: 20 kB / 1.264 GB, free: 69.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.3026, allocations: 0.7688 MB / 1.265 GB, free: 68.93 MB / 0.823 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.003527/0.3062, allocations: 4.612 MB / 1.269 GB, free: 63.96 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.3066, allocations: 404.8 kB / 1.27 GB, free: 63.56 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3068, allocations: 269.4 kB / 1.27 GB, free: 63.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.3071, allocations: 421.8 kB / 1.27 GB, free: 62.79 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3071, allocations: 38.89 kB / 1.271 GB, free: 62.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.3071, allocations: 4 kB / 1.271 GB, free: 62.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.001505/0.3087, allocations: 0.8689 MB / 1.271 GB, free: 61.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3087, allocations: 59.39 kB / 1.271 GB, free: 61.78 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.3095, allocations: 0.9192 MB / 1.272 GB, free: 60.85 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3095, allocations: 33.7 kB / 1.272 GB, free: 60.81 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.3098, allocations: 0.5067 MB / 1.273 GB, free: 60.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.3098, allocations: 145.9 kB / 1.273 GB, free: 60.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.31, allocations: 118.2 kB / 1.273 GB, free: 60.03 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.31, allocations: 334 kB / 1.273 GB, free: 59.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.3103, allocations: 226.9 kB / 1.274 GB, free: 59.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.3106, allocations: 439.1 kB / 1.274 GB, free: 58.96 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.3112, allocations: 0.6707 MB / 1.275 GB, free: 58.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3112, allocations: 0 / 1.275 GB, free: 58.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001042/0.3122, allocations: 0.8094 MB / 1.275 GB, free: 57.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3123, allocations: 7.938 kB / 1.275 GB, free: 57.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3123, allocations: 8 kB / 1.276 GB, free: 57.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.3127, allocations: 89.25 kB / 1.276 GB, free: 57.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.313, allocations: 111.8 kB / 1.276 GB, free: 57.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003144/0.3133, allocations: 0.6264 MB / 1.276 GB, free: 56.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.314, allocations: 103.4 kB / 1.276 GB, free: 56.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.314, allocations: 28 kB / 1.276 GB, free: 56.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005023/0.3145, allocations: 0.571 MB / 1.277 GB, free: 55.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003202/0.3148, allocations: 438.3 kB / 1.277 GB, free: 55.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005382/0.3154, allocations: 0.6608 MB / 1.278 GB, free: 54.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.3154, allocations: 7.938 kB / 1.278 GB, free: 54.56 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0008803/0.3163, allocations: 0.7818 MB / 1.279 GB, free: 53.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.3163, allocations: 12 kB / 1.279 GB, free: 53.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3163, allocations: 11.88 kB / 1.279 GB, free: 53.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.3165, allocations: 64.75 kB / 1.279 GB, free: 53.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3167, allocations: 115.8 kB / 1.279 GB, free: 53.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3179, allocations: 1.72 MB / 1.281 GB, free: 51.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.3185, allocations: 91.53 kB / 1.281 GB, free: 51.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.3185, allocations: 27.98 kB / 1.281 GB, free: 51.58 MB / 0.823 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.3187, allocations: 224.4 kB / 1.281 GB, free: 51.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3188, allocations: 86.97 kB / 1.281 GB, free: 51.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.3196, allocations: 0.6423 MB / 1.282 GB, free: 50.62 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3196, allocations: 4 kB / 1.282 GB, free: 50.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3196, allocations: 7.984 kB / 1.282 GB, free: 50.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005944/0.3202, allocations: 0.8283 MB / 1.283 GB, free: 49.69 MB / 0.823 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.001858/0.3221, allocations: 1.687 MB / 1.284 GB, free: 47.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3221, allocations: 4 kB / 1.284 GB, free: 47.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3224, allocations: 79.89 kB / 1.284 GB, free: 47.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.429e-05/0.3225, allocations: 44.7 kB / 1.284 GB, free: 47.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.3225, allocations: 12 kB / 1.284 GB, free: 47.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002116/0.3227, allocations: 0.5603 MB / 1.285 GB, free: 47.19 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3228, allocations: 8 kB / 1.285 GB, free: 47.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.3285, allocations: 5.953 MB / 1.291 GB, free: 40.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.3288, allocations: 247.9 kB / 1.291 GB, free: 40.65 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.3289, allocations: 8 kB / 1.291 GB, free: 40.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.3294, allocations: 67.86 kB / 1.291 GB, free: 40.58 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.3295, allocations: 39.83 kB / 1.291 GB, free: 40.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.3295, allocations: 19.98 kB / 1.291 GB, free: 40.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006138/0.3302, allocations: 0.6473 MB / 1.292 GB, free: 39.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3302, allocations: 4 kB / 1.292 GB, free: 39.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003225/0.3334, allocations: 0.8813 MB / 1.293 GB, free: 38.99 MB / 0.823 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007894/0.3342, allocations: 287.5 kB / 1.293 GB, free: 38.71 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.3356, allocations: 0.9965 MB / 1.294 GB, free: 37.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3357, allocations: 4.062 kB / 1.294 GB, free: 37.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.336, allocations: 235.7 kB / 1.294 GB, free: 37.46 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.3384, allocations: 0.5679 MB / 1.295 GB, free: 36.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.3414, allocations: 2.871 MB / 1.297 GB, free: 33.97 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.342, allocations: 1.24 MB / 1.299 GB, free: 32.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001062/0.343, allocations: 460 kB / 1.299 GB, free: 32.26 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3432, allocations: 87.34 kB / 1.299 GB, free: 32.17 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.3432, allocations: 0 / 1.299 GB, free: 32.17 MB / 0.823 GB Notification: Performance of Templates: time 0.02621/0.3694, allocations: 21.08 MB / 1.32 GB, free: 11.32 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)