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.001133/0.001134, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001237/0.001237, allocations: 195 kB / 17.98 MB, free: 5.027 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.328/1.328, 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.7352/0.7352, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 56.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 76.15 MB / 0.5576 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02612/0.351, allocations: 28.54 MB / 0.5854 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3611, allocations: 7.901 MB / 0.5932 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.3624, allocations: 34.69 kB / 0.5932 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3635, allocations: 405.7 kB / 0.5936 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.366, allocations: 1.008 MB / 0.5946 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.3686, allocations: 1.085 MB / 0.5956 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004412/0.3731, allocations: 4.927 MB / 0.6004 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.3754, allocations: 2.281 MB / 0.6027 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.3788, allocations: 1.788 MB / 0.6044 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.3808, allocations: 1.455 MB / 0.6058 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.3811, allocations: 228 kB / 0.606 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.3834, allocations: 1.315 MB / 0.6073 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.3838, allocations: 0.5491 MB / 0.6079 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.385, allocations: 1.167 MB / 0.609 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.389, allocations: 3.689 MB / 0.6126 GB, free: 12.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.389, allocations: 0 / 0.6126 GB, free: 12.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.389, allocations: 0 / 0.6126 GB, free: 12.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.612e-05/0.3891, allocations: 3.938 kB / 0.6126 GB, free: 12.25 MB / 462.1 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.004738/0.3938, allocations: 2.565 MB / 0.6151 GB, free: 9.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3938, allocations: 12.03 kB / 0.6151 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.3946, allocations: 234.5 kB / 0.6153 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.3976, allocations: 1.802 MB / 0.6171 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.3977, allocations: 114.7 kB / 0.6172 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.398, allocations: 152 kB / 0.6174 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.401, allocations: 1.997 MB / 0.6193 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.401, allocations: 0 / 0.6193 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.4012, allocations: 56 kB / 0.6194 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.4012, allocations: 43.98 kB / 0.6194 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.4039, allocations: 1.802 MB / 0.6212 GB, free: 3.301 MB / 462.1 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.01115/0.415, allocations: 7.609 MB / 0.6286 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.4169, allocations: 1.448 MB / 0.63 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.4178, allocations: 0.6686 MB / 0.6307 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.4241, allocations: 3.842 MB / 0.6344 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4242, allocations: 48.77 kB / 0.6345 GB, free: 5.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.777e-06/0.4242, allocations: 0 / 0.6345 GB, free: 5.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.002552/0.4268, allocations: 1.514 MB / 0.6359 GB, free: 3.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4268, allocations: 60.41 kB / 0.636 GB, free: 3.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.4291, allocations: 1.645 MB / 0.6376 GB, free: 1.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.4293, allocations: 53.7 kB / 0.6377 GB, free: 1.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/0.4299, allocations: 0.7575 MB / 0.6384 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.4302, allocations: 319.4 kB / 0.6387 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.4306, allocations: 291.4 kB / 0.639 GB, free: 356 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4308, allocations: 361.9 kB / 0.6393 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4318, allocations: 0.6878 MB / 0.64 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.4331, allocations: 1.028 MB / 0.641 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.4351, allocations: 1.62 MB / 0.6426 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4351, allocations: 12 kB / 0.6426 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003126/0.4383, allocations: 1.955 MB / 0.6445 GB, free: 10.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4383, allocations: 8 kB / 0.6445 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4383, allocations: 8.875 kB / 0.6445 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4384, allocations: 16 kB / 0.6445 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4396, allocations: 335.5 kB / 0.6449 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/0.4397, allocations: 19.94 kB / 0.6449 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.4409, allocations: 202.1 kB / 0.6451 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.441, allocations: 59.98 kB / 0.6451 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001811/0.4428, allocations: 1.284 MB / 0.6464 GB, free: 8.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/0.4441, allocations: 1.024 MB / 0.6474 GB, free: 7.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002035/0.4461, allocations: 1.616 MB / 0.649 GB, free: 5.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.4461, allocations: 4 kB / 0.649 GB, free: 5.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003066/0.4492, allocations: 1.955 MB / 0.6509 GB, free: 3.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4492, allocations: 8 kB / 0.6509 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4493, allocations: 8 kB / 0.6509 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4493, allocations: 19.94 kB / 0.6509 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4505, allocations: 335.5 kB / 0.6512 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.4505, allocations: 19.94 kB / 0.6512 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.4517, allocations: 147.2 kB / 0.6514 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.4519, allocations: 63.98 kB / 0.6514 GB, free: 3.043 MB / 494.1 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.0003033/0.4522, allocations: 255.8 kB / 0.6517 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.4525, allocations: 150.1 kB / 0.6518 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.4546, allocations: 1.279 MB / 0.6531 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4546, allocations: 8 kB / 0.6531 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4546, allocations: 4 kB / 0.6531 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.4561, allocations: 1.292 MB / 0.6544 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/0.4608, allocations: 2.955 MB / 0.6572 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4608, allocations: 0 / 0.6572 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.4616, allocations: 187.8 kB / 0.6574 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4617, allocations: 8.125 kB / 0.6574 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.4617, allocations: 27.98 kB / 0.6575 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.4617, allocations: 12 kB / 0.6575 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4618, allocations: 3.938 kB / 0.6575 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.4644, allocations: 1.909 MB / 0.6593 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.4653, allocations: 406.8 kB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.4656, allocations: 27.92 kB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.4665, allocations: 43.95 kB / 0.6598 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4666, allocations: 60.8 kB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.4667, allocations: 39.97 kB / 0.6599 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001807/0.4685, allocations: 1.234 MB / 0.6611 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4685, allocations: 4 kB / 0.6611 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002494/0.471, allocations: 0.9124 MB / 0.662 GB, free: 8.016 MB / 0.4981 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.0008587/0.4719, allocations: 367.5 kB / 0.6623 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003672/0.4756, allocations: 2.329 MB / 0.6646 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4756, allocations: 0.5 kB / 0.6646 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.4763, allocations: 0.5248 MB / 0.6651 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.4801, allocations: 0.9221 MB / 0.666 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.4857, allocations: 3.659 MB / 0.6696 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.4872, allocations: 1.69 MB / 0.6712 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002529/0.4897, allocations: 0.9131 MB / 0.6721 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.4902, allocations: 135.3 kB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.4902, allocations: 0 / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.05527/0.5455, allocations: 35.73 MB / 0.7072 GB, free: 10.07 MB / 0.545 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)