Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.192/2.192, allocations: 391.2 MB / 407 MB, free: 10.93 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.001158/0.001158, allocations: 186.2 kB / 499.1 MB, free: 4.691 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.464/1.464, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.001169/0.001169, allocations: 109 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 52.67 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3005, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02299/0.3235, allocations: 28.45 MB / 1.246 GB, free: 88.68 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.009577/0.3331, allocations: 7.964 MB / 1.254 GB, free: 80.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.3348, allocations: 35.75 kB / 1.254 GB, free: 80.66 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3361, allocations: 326.1 kB / 1.254 GB, free: 80.34 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.339, allocations: 0.9448 MB / 1.255 GB, free: 79.39 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.3417, allocations: 0.933 MB / 1.256 GB, free: 78.47 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005599/0.3473, allocations: 6.122 MB / 1.262 GB, free: 72.33 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.35, allocations: 1.848 MB / 1.264 GB, free: 70.45 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.353, allocations: 1.412 MB / 1.265 GB, free: 69.03 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.3554, allocations: 1.373 MB / 1.266 GB, free: 67.65 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006099/0.3561, allocations: 104 kB / 1.266 GB, free: 67.55 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.3592, allocations: 1.166 MB / 1.268 GB, free: 66.38 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008507/0.3601, allocations: 418.3 kB / 1.268 GB, free: 65.97 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.3623, allocations: 1.003 MB / 1.269 GB, free: 64.96 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.3671, allocations: 3.541 MB / 1.272 GB, free: 61.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3672, allocations: 0 / 1.272 GB, free: 61.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3672, allocations: 3.938 kB / 1.272 GB, free: 61.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001325/0.3673, allocations: 0 / 1.272 GB, free: 61.41 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006949/0.3743, allocations: 2.553 MB / 1.275 GB, free: 58.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3744, allocations: 15.98 kB / 1.275 GB, free: 58.78 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3757, allocations: 234.5 kB / 1.275 GB, free: 58.55 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.3794, allocations: 1.768 MB / 1.277 GB, free: 56.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.3795, allocations: 114.7 kB / 1.277 GB, free: 56.61 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.38, allocations: 159.9 kB / 1.277 GB, free: 56.46 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.384, allocations: 1.994 MB / 1.279 GB, free: 54.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.3841, allocations: 4 kB / 1.279 GB, free: 54.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3844, allocations: 63.94 kB / 1.279 GB, free: 54.33 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/0.3845, allocations: 39.98 kB / 1.279 GB, free: 54.29 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.3879, allocations: 1.794 MB / 1.281 GB, free: 52.49 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.01297/0.4008, allocations: 7.586 MB / 1.288 GB, free: 44.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.4026, allocations: 1.445 MB / 1.29 GB, free: 43.13 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.4033, allocations: 0.6717 MB / 1.29 GB, free: 42.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006366/0.4097, allocations: 3.838 MB / 1.294 GB, free: 38.29 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4098, allocations: 47.5 kB / 1.294 GB, free: 38.24 MB / 0.823 GB Notification: Performance of pre-optimization done (n=88): time 2.915e-06/0.4098, allocations: 0 / 1.294 GB, free: 38.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=88): time 0.002439/0.4122, allocations: 1.51 MB / 1.296 GB, free: 36.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4123, allocations: 64.41 kB / 1.296 GB, free: 36.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.4148, allocations: 1.602 MB / 1.297 GB, free: 35.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.415, allocations: 49.7 kB / 1.297 GB, free: 34.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.4156, allocations: 0.7615 MB / 1.298 GB, free: 34.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.4159, allocations: 311.5 kB / 1.298 GB, free: 33.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.4163, allocations: 295.3 kB / 1.299 GB, free: 33.61 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.4164, allocations: 369.8 kB / 1.299 GB, free: 33.24 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008964/0.4173, allocations: 0.6917 MB / 1.3 GB, free: 32.55 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4184, allocations: 1.024 MB / 1.301 GB, free: 31.39 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.4201, allocations: 1.62 MB / 1.302 GB, free: 29.65 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.4201, allocations: 0 / 1.302 GB, free: 29.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002948/0.4231, allocations: 1.955 MB / 1.304 GB, free: 27.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.4232, allocations: 8 kB / 1.304 GB, free: 27.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.4232, allocations: 8 kB / 1.304 GB, free: 27.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.4232, allocations: 16 kB / 1.304 GB, free: 27.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.4244, allocations: 331.5 kB / 1.305 GB, free: 27.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.4244, allocations: 20.53 kB / 1.305 GB, free: 27.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4259, allocations: 222.1 kB / 1.305 GB, free: 27.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4261, allocations: 59.98 kB / 1.305 GB, free: 27.04 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00174/0.4278, allocations: 1.28 MB / 1.306 GB, free: 25.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/0.4289, allocations: 1.024 MB / 1.307 GB, free: 24.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001749/0.4307, allocations: 1.624 MB / 1.309 GB, free: 22.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.887e-06/0.4307, allocations: 4 kB / 1.309 GB, free: 22.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002881/0.4336, allocations: 1.952 MB / 1.311 GB, free: 20.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4336, allocations: 9.094 kB / 1.311 GB, free: 20.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4336, allocations: 8 kB / 1.311 GB, free: 20.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4337, allocations: 20.03 kB / 1.311 GB, free: 20.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4348, allocations: 335.5 kB / 1.311 GB, free: 20.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/0.4349, allocations: 19.94 kB / 1.311 GB, free: 20.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4363, allocations: 167 kB / 1.311 GB, free: 20.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4365, allocations: 63.98 kB / 1.311 GB, free: 20.28 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.4368, allocations: 261.2 kB / 1.311 GB, free: 20.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/0.4373, allocations: 146.2 kB / 1.312 GB, free: 19.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.4393, allocations: 1.293 MB / 1.313 GB, free: 18.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4393, allocations: 8 kB / 1.313 GB, free: 18.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4393, allocations: 0 / 1.313 GB, free: 18.56 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.4405, allocations: 1.284 MB / 1.314 GB, free: 17.18 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/0.4449, allocations: 2.943 MB / 1.317 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/0.445, allocations: 0 / 1.317 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.4457, allocations: 183.8 kB / 1.317 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.4457, allocations: 8 kB / 1.317 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.4458, allocations: 23.98 kB / 1.317 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.4458, allocations: 7.938 kB / 1.317 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4458, allocations: 0 / 1.317 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03456/0.4804, allocations: 13.68 MB / 1.331 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.4816, allocations: 398.8 kB / 1.331 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.4821, allocations: 19.94 kB / 1.331 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.4833, allocations: 75.95 kB / 1.331 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4835, allocations: 60.86 kB / 1.331 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.4836, allocations: 43.97 kB / 1.331 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002306/0.4859, allocations: 1.207 MB / 1.332 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4859, allocations: 0 / 1.332 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005741/0.4917, allocations: 1.412 MB / 1.334 GB, free: 12.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/0.4928, allocations: 364.9 kB / 1.334 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004363/0.4972, allocations: 2.325 MB / 1.336 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.4972, allocations: 0 / 1.336 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.498, allocations: 0.5209 MB / 1.337 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/0.5031, allocations: 0.8684 MB / 1.338 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.5114, allocations: 4.946 MB / 1.342 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.5132, allocations: 1.702 MB / 1.344 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003775/0.517, allocations: 0.9848 MB / 1.345 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/0.5179, allocations: 143.4 kB / 1.345 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/0.5179, allocations: 0 / 1.345 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of Templates: time 0.07227/0.5902, allocations: 42.38 MB / 1.387 GB, free: 6.844 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)