Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.587/1.587, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.0009184/0.0009184, allocations: 189.4 kB / 371.8 MB, free: 10.83 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.392/1.392, allocations: 205.4 MB / 0.6304 GB, free: 10.61 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.000724/0.0007241, allocations: 100.3 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005033, allocations: 11.91 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02127/0.2289, allocations: 26.27 MB / 1.005 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.2382, allocations: 7.336 MB / 1.012 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.2393, allocations: 27.81 kB / 1.012 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2404, allocations: 290.1 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.2427, allocations: 0.7985 MB / 1.013 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.245, allocations: 0.78 MB / 1.014 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005378/0.2504, allocations: 5.252 MB / 1.019 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.2531, allocations: 1.783 MB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.2556, allocations: 1.307 MB / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.2577, allocations: 1.233 MB / 1.023 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.2581, allocations: 80 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2606, allocations: 0.9788 MB / 1.024 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.2612, allocations: 358.5 kB / 1.025 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.2619, allocations: 420.7 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.265, allocations: 2.81 MB / 1.028 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.265, allocations: 8 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/0.265, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001112/0.2651, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.6511 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.00477/0.2699, allocations: 2.121 MB / 1.03 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.27, allocations: 12.03 kB / 1.03 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.2709, allocations: 230.5 kB / 1.03 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.2741, allocations: 1.735 MB / 1.032 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.2742, allocations: 118.7 kB / 1.032 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.2746, allocations: 155.9 kB / 1.032 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.2782, allocations: 1.994 MB / 1.034 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.2782, allocations: 0 / 1.034 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.2784, allocations: 60 kB / 1.034 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.2784, allocations: 36 kB / 1.034 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.2814, allocations: 1.786 MB / 1.036 GB, free: 1.922 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.01113/0.2925, allocations: 7.617 MB / 1.043 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.2944, allocations: 1.447 MB / 1.045 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.2952, allocations: 0.6627 MB / 1.045 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.3012, allocations: 3.846 MB / 1.049 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3012, allocations: 43.56 kB / 1.049 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 3.106e-06/0.3012, allocations: 0 / 1.049 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002309/0.3035, allocations: 1.506 MB / 1.051 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3036, allocations: 61.61 kB / 1.051 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.3057, allocations: 1.574 MB / 1.052 GB, free: 496 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.3058, allocations: 45.7 kB / 1.052 GB, free: 444 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.3063, allocations: 0.7497 MB / 1.053 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.3066, allocations: 319.4 kB / 1.053 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.3067, allocations: 28 kB / 1.053 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3068, allocations: 357.9 kB / 1.054 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009841/0.3078, allocations: 0.683 MB / 1.054 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.309, allocations: 1.012 MB / 1.055 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.311, allocations: 1.62 MB / 1.057 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.311, allocations: 0 / 1.057 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002857/0.3139, allocations: 1.94 MB / 1.059 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.3141, allocations: 357 kB / 1.059 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.3141, allocations: 15.98 kB / 1.059 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.3142, allocations: 16 kB / 1.059 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3154, allocations: 331.5 kB / 1.059 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/0.3154, allocations: 27.91 kB / 1.06 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3166, allocations: 214.1 kB / 1.06 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.3167, allocations: 63.92 kB / 1.06 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.3167, allocations: 4 kB / 1.06 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0025/0.3193, allocations: 1.788 MB / 1.062 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3193, allocations: 12.06 kB / 1.062 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3193, allocations: 16 kB / 1.062 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3205, allocations: 327.5 kB / 1.062 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.3205, allocations: 23.92 kB / 1.062 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3216, allocations: 190.5 kB / 1.062 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.3217, allocations: 59.98 kB / 1.062 GB, free: 5.914 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008838/0.3226, allocations: 0.7425 MB / 1.063 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.3229, allocations: 154.1 kB / 1.063 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.3248, allocations: 1.276 MB / 1.064 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.3262, allocations: 1.277 MB / 1.065 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3262, allocations: 0 / 1.065 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.3269, allocations: 418.8 kB / 1.066 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.3271, allocations: 16 kB / 1.066 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.3279, allocations: 68.47 kB / 1.066 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.328, allocations: 52.92 kB / 1.066 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002025/0.3301, allocations: 1.259 MB / 1.067 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3744/0.7045, allocations: 2.004 MB / 1.069 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006524/0.7051, allocations: 0.526 MB / 1.07 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001547/0.7067, allocations: 1.105 MB / 1.071 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of Backend: time 6.12e-07/0.7067, allocations: 0 / 1.071 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004454/0.7112, allocations: 2.278 MB / 1.073 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of SimCode: time 0.0075/0.7187, allocations: 4.999 MB / 1.078 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.08144/0.8001, allocations: 38.62 MB / 1.116 GB, free: 68.26 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)