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.001376/0.001376, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001645/0.001645, allocations: 196 kB / 17.34 MB, free: 5.715 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 64.12 kB / 0.5684 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1966, allocations: 77.93 MB / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02737/0.224, allocations: 28.54 MB / 0.6724 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.2351, allocations: 7.913 MB / 0.6801 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2366, allocations: 31.81 kB / 0.6802 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.2379, allocations: 405.2 kB / 0.6806 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.2409, allocations: 1.01 MB / 0.6816 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.2437, allocations: 1.077 MB / 0.6826 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005333/0.249, allocations: 4.926 MB / 0.6874 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/0.2519, allocations: 2.289 MB / 0.6896 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/0.2561, allocations: 1.791 MB / 0.6914 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.2587, allocations: 1.463 MB / 0.6928 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.2591, allocations: 228 kB / 0.693 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.2622, allocations: 1.303 MB / 0.6943 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/0.2629, allocations: 0.5569 MB / 0.6949 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.2648, allocations: 1.159 MB / 0.696 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.2701, allocations: 3.695 MB / 0.6996 GB, free: 440 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2701, allocations: 0 / 0.6996 GB, free: 440 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2701, allocations: 0 / 0.6996 GB, free: 440 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.044e-05/0.2702, allocations: 0 / 0.6996 GB, free: 440 kB / 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.006144/0.2763, allocations: 2.613 MB / 0.7022 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.2764, allocations: 12.62 kB / 0.7022 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/0.2774, allocations: 247.5 kB / 0.7024 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.2809, allocations: 1.819 MB / 0.7042 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.281, allocations: 118.6 kB / 0.7043 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.2813, allocations: 156 kB / 0.7044 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.2848, allocations: 2.001 MB / 0.7064 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.2848, allocations: 4 kB / 0.7064 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.285, allocations: 56 kB / 0.7065 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.2851, allocations: 36 kB / 0.7065 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.2878, allocations: 1.798 MB / 0.7082 GB, free: 7.402 MB / 0.545 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.01135/0.2992, allocations: 7.619 MB / 0.7157 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.301, allocations: 1.441 MB / 0.7171 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.3018, allocations: 0.6679 MB / 0.7177 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006132/0.308, allocations: 3.854 MB / 0.7215 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.308, allocations: 39.56 kB / 0.7215 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.308, allocations: 0 / 0.7215 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002502/0.3106, allocations: 1.53 MB / 0.723 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3106, allocations: 60.41 kB / 0.7231 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.313, allocations: 1.645 MB / 0.7247 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.3131, allocations: 53.69 kB / 0.7248 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/0.3137, allocations: 0.767 MB / 0.7255 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.3141, allocations: 329.2 kB / 0.7258 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.3145, allocations: 291.5 kB / 0.7261 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3147, allocations: 365.9 kB / 0.7264 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3157, allocations: 0.6878 MB / 0.7271 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3169, allocations: 1.024 MB / 0.7281 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.319, allocations: 1.628 MB / 0.7297 GB, free: 460 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.3191, allocations: 11.94 kB / 0.7297 GB, free: 448 kB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003222/0.3223, allocations: 1.952 MB / 0.7316 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3223, allocations: 9.875 kB / 0.7316 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3223, allocations: 8.906 kB / 0.7316 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.3224, allocations: 16 kB / 0.7317 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3236, allocations: 343.4 kB / 0.732 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.3236, allocations: 23.92 kB / 0.732 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3249, allocations: 198.6 kB / 0.7322 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.325, allocations: 63.98 kB / 0.7323 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001892/0.3269, allocations: 1.28 MB / 0.7335 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/0.3281, allocations: 1.02 MB / 0.7345 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001978/0.3301, allocations: 1.616 MB / 0.7361 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.971e-06/0.3301, allocations: 4 kB / 0.7361 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003087/0.3332, allocations: 1.956 MB / 0.738 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3332, allocations: 15.94 kB / 0.738 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3332, allocations: 8 kB / 0.738 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3333, allocations: 16 kB / 0.738 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3344, allocations: 339.4 kB / 0.7384 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.3344, allocations: 24.05 kB / 0.7384 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.3356, allocations: 151.5 kB / 0.7385 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.3357, allocations: 64 kB / 0.7386 GB, free: 7.082 MB / 0.5762 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.0003808/0.3361, allocations: 264.7 kB / 0.7388 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.3364, allocations: 159 kB / 0.739 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.3386, allocations: 1.279 MB / 0.7402 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3386, allocations: 11.98 kB / 0.7402 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3386, allocations: 4 kB / 0.7403 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.3401, allocations: 1.284 MB / 0.7415 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.3443, allocations: 2.959 MB / 0.7444 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3444, allocations: 0 / 0.7444 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.3451, allocations: 179.9 kB / 0.7446 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3451, allocations: 8 kB / 0.7446 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3452, allocations: 31.98 kB / 0.7446 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.3452, allocations: 4 kB / 0.7446 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.3452, allocations: 7.875 kB / 0.7446 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4371/0.7823, allocations: 1.92 MB / 0.7465 GB, free: 95.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.7833, allocations: 404.5 kB / 0.7469 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.7836, allocations: 20.94 kB / 0.7469 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008176/0.7844, allocations: 52.77 kB / 0.7469 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7846, allocations: 54.58 kB / 0.747 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.7846, allocations: 36.64 kB / 0.747 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002089/0.7867, allocations: 1.239 MB / 0.7482 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7868, allocations: 4.703 kB / 0.7483 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003093/0.7899, allocations: 0.9216 MB / 0.7492 GB, free: 94.75 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.001048/0.7909, allocations: 365.5 kB / 0.7495 GB, free: 94.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.7956, allocations: 2.333 MB / 0.7518 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7957, allocations: 0.5 kB / 0.7518 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.7966, allocations: 0.5257 MB / 0.7523 GB, free: 93.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/0.8013, allocations: 0.9185 MB / 0.7532 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/0.808, allocations: 3.727 MB / 0.7568 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.8096, allocations: 1.682 MB / 0.7585 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003824/0.8134, allocations: 0.9124 MB / 0.7594 GB, free: 90.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/0.8142, allocations: 136.9 kB / 0.7595 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of SimCode: time 2.485e-06/0.8142, allocations: 0 / 0.7595 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.05606/0.8702, allocations: 36.11 MB / 0.7948 GB, free: 64.16 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)