Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7051/0.7051, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 404.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 115.6 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 47.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1684, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02913/0.1975, allocations: 28.41 MB / 0.6699 GB, free: 8.922 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2095, allocations: 7.959 MB / 0.6777 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.2111, allocations: 31.81 kB / 0.6777 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2122, allocations: 338.1 kB / 0.678 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.215, allocations: 0.9297 MB / 0.6789 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.2178, allocations: 0.941 MB / 0.6798 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.2241, allocations: 6.102 MB / 0.6858 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.2267, allocations: 1.858 MB / 0.6876 GB, free: 6.691 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.2296, allocations: 1.412 MB / 0.689 GB, free: 5.273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.2317, allocations: 1.373 MB / 0.6903 GB, free: 3.895 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.232, allocations: 107.9 kB / 0.6904 GB, free: 3.789 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.2346, allocations: 1.166 MB / 0.6916 GB, free: 2.621 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004457/0.2351, allocations: 414.3 kB / 0.692 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.2365, allocations: 1.011 MB / 0.693 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3442/0.5808, allocations: 3.534 MB / 0.6964 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.5808, allocations: 0 / 0.6964 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5808, allocations: 0.6875 kB / 0.6964 GB, free: 21.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.581, allocations: 0 / 0.6964 GB, free: 21.08 MB / 490.7 MB 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.007315/0.5883, allocations: 2.56 MB / 0.6989 GB, free: 20.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/0.5884, allocations: 10.56 kB / 0.6989 GB, free: 20.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5896, allocations: 230.9 kB / 0.6991 GB, free: 19.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.594, allocations: 1.767 MB / 0.7009 GB, free: 19.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.5941, allocations: 116.8 kB / 0.701 GB, free: 19.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.5944, allocations: 155.6 kB / 0.7011 GB, free: 19.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/0.5985, allocations: 1.999 MB / 0.7031 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.5986, allocations: 4.188 kB / 0.7031 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.5987, allocations: 60.39 kB / 0.7031 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/0.5988, allocations: 38.72 kB / 0.7032 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.6022, allocations: 1.797 MB / 0.7049 GB, free: 19.3 MB / 490.7 MB 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.01483/0.6171, allocations: 7.587 MB / 0.7123 GB, free: 16.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.6197, allocations: 1.448 MB / 0.7137 GB, free: 16.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.6209, allocations: 0.6672 MB / 0.7144 GB, free: 16.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008677/0.6296, allocations: 3.837 MB / 0.7181 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.6297, allocations: 45.59 kB / 0.7182 GB, free: 14.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 3.317e-06/0.6297, allocations: 0 / 0.7182 GB, free: 14.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.003654/0.6334, allocations: 1.512 MB / 0.7197 GB, free: 14.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.6334, allocations: 63.23 kB / 0.7197 GB, free: 14.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.6367, allocations: 1.61 MB / 0.7213 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.6369, allocations: 48.36 kB / 0.7213 GB, free: 14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/0.6376, allocations: 0.7558 MB / 0.7221 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.638, allocations: 311.1 kB / 0.7224 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/0.6387, allocations: 295.3 kB / 0.7227 GB, free: 13.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6388, allocations: 362.7 kB / 0.723 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.6403, allocations: 0.691 MB / 0.7237 GB, free: 12.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.6423, allocations: 1.023 MB / 0.7247 GB, free: 11.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/0.6449, allocations: 1.621 MB / 0.7263 GB, free: 11.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.6449, allocations: 2.281 kB / 0.7263 GB, free: 11.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004452/0.6494, allocations: 1.951 MB / 0.7282 GB, free: 10.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6494, allocations: 10.41 kB / 0.7282 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.6495, allocations: 11.19 kB / 0.7282 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/0.6495, allocations: 20.06 kB / 0.7282 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.6513, allocations: 330.2 kB / 0.7285 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.6513, allocations: 23.73 kB / 0.7286 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.6535, allocations: 218 kB / 0.7288 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.6536, allocations: 61.77 kB / 0.7288 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002514/0.6562, allocations: 1.286 MB / 0.7301 GB, free: 9.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/0.6576, allocations: 1.018 MB / 0.7311 GB, free: 8.547 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002213/0.6599, allocations: 1.621 MB / 0.7327 GB, free: 7.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.574e-06/0.6599, allocations: 3.938 kB / 0.7327 GB, free: 7.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003197/0.6631, allocations: 1.954 MB / 0.7346 GB, free: 6.559 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6631, allocations: 10.59 kB / 0.7346 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6631, allocations: 11.16 kB / 0.7346 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6632, allocations: 14.5 kB / 0.7346 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.6643, allocations: 338 kB / 0.7349 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.6643, allocations: 21.75 kB / 0.7349 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6658, allocations: 163.2 kB / 0.7351 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.666, allocations: 61.45 kB / 0.7352 GB, free: 6.379 MB / 490.7 MB 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.0004425/0.6664, allocations: 269 kB / 0.7354 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.6668, allocations: 146.8 kB / 0.7356 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.6687, allocations: 1.278 MB / 0.7368 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.6687, allocations: 12.02 kB / 0.7368 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6687, allocations: 6.688 kB / 0.7368 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.6699, allocations: 1.285 MB / 0.7381 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/0.6745, allocations: 2.935 MB / 0.7409 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.6745, allocations: 0 / 0.7409 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.6754, allocations: 190.1 kB / 0.7411 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.6755, allocations: 5.25 kB / 0.7411 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.6755, allocations: 23.83 kB / 0.7411 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.6756, allocations: 7.938 kB / 0.7412 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.6756, allocations: 10.59 kB / 0.7412 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/0.7124, allocations: 13.67 MB / 0.7545 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.7136, allocations: 398.7 kB / 0.7549 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/0.7142, allocations: 23.98 kB / 0.7549 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.7155, allocations: 79.77 kB / 0.755 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.7157, allocations: 60.05 kB / 0.7551 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.7159, allocations: 37.05 kB / 0.7551 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002436/0.7183, allocations: 1.207 MB / 0.7563 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7183, allocations: 0 / 0.7563 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004736/0.7231, allocations: 1.416 MB / 0.7576 GB, free: 2.305 MB / 0.4948 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.0009477/0.7241, allocations: 357.8 kB / 0.758 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003686/0.7278, allocations: 2.319 MB / 0.7603 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7278, allocations: 0 / 0.7603 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.7285, allocations: 0.5266 MB / 0.7608 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/0.733, allocations: 0.8733 MB / 0.7616 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.7401, allocations: 4.958 MB / 0.7665 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.7415, allocations: 1.698 MB / 0.7681 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003408/0.7449, allocations: 0.9671 MB / 0.7691 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/0.7455, allocations: 155.4 kB / 0.7692 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/0.7455, allocations: 0 / 0.7692 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of Templates: time 0.06977/0.8153, allocations: 42.36 MB / 0.8106 GB, free: 12.65 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)