Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001443, allocations: 118 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7199/0.7199, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 72.23 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1655, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02966/0.1952, allocations: 28.54 MB / 0.6606 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.2076, allocations: 7.892 MB / 0.6683 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.2091, allocations: 35.75 kB / 0.6683 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.2106, allocations: 409.2 kB / 0.6687 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.2136, allocations: 1.021 MB / 0.6697 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.2166, allocations: 1.07 MB / 0.6708 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005883/0.2225, allocations: 4.927 MB / 0.6756 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.2256, allocations: 2.285 MB / 0.6778 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.2296, allocations: 1.824 MB / 0.6796 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.2323, allocations: 1.459 MB / 0.681 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007343/0.233, allocations: 232 kB / 0.6812 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.2364, allocations: 1.326 MB / 0.6825 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.2373, allocations: 0.5453 MB / 0.6831 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.2396, allocations: 1.159 MB / 0.6842 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.245, allocations: 3.677 MB / 0.6878 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.245, allocations: 3.938 kB / 0.6878 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.245, allocations: 0 / 0.6878 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001101/0.2452, allocations: 0 / 0.6878 GB, free: 11.78 MB / 0.5294 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.006103/0.2513, allocations: 2.563 MB / 0.6903 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2513, allocations: 12.03 kB / 0.6903 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.2522, allocations: 226.5 kB / 0.6905 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.2551, allocations: 1.812 MB / 0.6923 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/0.2552, allocations: 118.7 kB / 0.6924 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.2554, allocations: 148 kB / 0.6926 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.2588, allocations: 1.994 MB / 0.6945 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.2588, allocations: 3.938 kB / 0.6945 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.259, allocations: 56 kB / 0.6946 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.259, allocations: 47.98 kB / 0.6946 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.2619, allocations: 1.798 MB / 0.6964 GB, free: 2.832 MB / 0.5294 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.0115/0.2734, allocations: 7.594 MB / 0.7038 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.2753, allocations: 1.449 MB / 0.7052 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/0.2762, allocations: 0.6607 MB / 0.7058 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/0.2825, allocations: 3.858 MB / 0.7096 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.2826, allocations: 47.56 kB / 0.7096 GB, free: 4.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 3.166e-06/0.2826, allocations: 4 kB / 0.7097 GB, free: 4.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002562/0.2851, allocations: 1.502 MB / 0.7111 GB, free: 3.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2852, allocations: 60.41 kB / 0.7112 GB, free: 2.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.2877, allocations: 1.649 MB / 0.7128 GB, free: 1.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.2878, allocations: 53.7 kB / 0.7128 GB, free: 1.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.2885, allocations: 0.7536 MB / 0.7136 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.2888, allocations: 311.5 kB / 0.7139 GB, free: 192 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/0.2892, allocations: 291.5 kB / 0.7141 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2894, allocations: 369.9 kB / 0.7145 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.2904, allocations: 0.6917 MB / 0.7152 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.2917, allocations: 1.024 MB / 0.7162 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.2938, allocations: 1.616 MB / 0.7178 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.2939, allocations: 7.938 kB / 0.7178 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003094/0.297, allocations: 1.959 MB / 0.7197 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.297, allocations: 11.94 kB / 0.7197 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.297, allocations: 8 kB / 0.7197 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.2971, allocations: 16 kB / 0.7197 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.2983, allocations: 335.5 kB / 0.72 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/0.2983, allocations: 19.94 kB / 0.72 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2996, allocations: 198.1 kB / 0.7202 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.2997, allocations: 59.98 kB / 0.7203 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001775/0.3015, allocations: 1.284 MB / 0.7215 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001172/0.3026, allocations: 1.028 MB / 0.7226 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001957/0.3046, allocations: 1.616 MB / 0.7241 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.3046, allocations: 4 kB / 0.7241 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002937/0.3076, allocations: 1.951 MB / 0.726 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3076, allocations: 10.41 kB / 0.726 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3076, allocations: 8 kB / 0.7261 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3076, allocations: 20 kB / 0.7261 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3088, allocations: 335.5 kB / 0.7264 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/0.3089, allocations: 19.94 kB / 0.7264 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3101, allocations: 150.9 kB / 0.7266 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.3103, allocations: 55.98 kB / 0.7266 GB, free: 2.59 MB / 0.5606 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.0003503/0.3106, allocations: 263.8 kB / 0.7269 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.3111, allocations: 154.1 kB / 0.727 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.3132, allocations: 1.29 MB / 0.7283 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3133, allocations: 8 kB / 0.7283 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3133, allocations: 4.125 kB / 0.7283 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.3147, allocations: 1.292 MB / 0.7295 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/0.3193, allocations: 2.955 MB / 0.7324 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3193, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008364/0.3202, allocations: 195.7 kB / 0.7326 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.807e-05/0.3202, allocations: 4 kB / 0.7326 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.694e-05/0.3203, allocations: 20 kB / 0.7326 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.3204, allocations: 7.984 kB / 0.7326 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3204, allocations: 3.938 kB / 0.7327 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.3231, allocations: 1.909 MB / 0.7345 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/0.324, allocations: 406.8 kB / 0.7349 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.3244, allocations: 23.98 kB / 0.7349 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/0.3254, allocations: 43.95 kB / 0.735 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3255, allocations: 56.86 kB / 0.735 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.3256, allocations: 35.98 kB / 0.7351 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002015/0.3276, allocations: 1.238 MB / 0.7363 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3276, allocations: 0 / 0.7363 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00284/0.3305, allocations: 0.9162 MB / 0.7372 GB, free: 7.555 MB / 0.5762 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.0009688/0.3314, allocations: 365.4 kB / 0.7375 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003802/0.3353, allocations: 2.328 MB / 0.7398 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3353, allocations: 0 / 0.7398 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.336, allocations: 0.5209 MB / 0.7403 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.3401, allocations: 0.9229 MB / 0.7412 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3507/0.6908, allocations: 3.638 MB / 0.7447 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/0.6927, allocations: 1.634 MB / 0.7463 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.6936, allocations: 148.3 kB / 0.7465 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.462e-06/0.6936, allocations: 0 / 0.7465 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05703/0.7506, allocations: 32.83 MB / 0.7785 GB, free: 87.71 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)