Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001471/0.001471, allocations: 114.4 kB / 16.42 MB, free: 6.441 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.001631/0.001631, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 91.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.366, allocations: 86.98 MB / 0.767 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02694/0.393, allocations: 28.54 MB / 0.7949 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.4042, allocations: 7.904 MB / 0.8026 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.4054, allocations: 39.75 kB / 0.8027 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.4066, allocations: 409.2 kB / 0.8031 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.4093, allocations: 1.003 MB / 0.804 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.412, allocations: 1.077 MB / 0.8051 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005173/0.4172, allocations: 4.929 MB / 0.8099 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.4199, allocations: 2.277 MB / 0.8121 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.4233, allocations: 1.835 MB / 0.8139 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.4253, allocations: 1.455 MB / 0.8153 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.4257, allocations: 228 kB / 0.8156 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.4281, allocations: 1.326 MB / 0.8169 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.4286, allocations: 0.5453 MB / 0.8174 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.4299, allocations: 1.163 MB / 0.8185 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.4337, allocations: 3.687 MB / 0.8221 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4337, allocations: 0 / 0.8221 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4337, allocations: 0 / 0.8221 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.4338, allocations: 0 / 0.8221 GB, free: 11.16 MB / 0.5919 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.004464/0.4382, allocations: 2.571 MB / 0.8246 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4383, allocations: 8.031 kB / 0.8246 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.439, allocations: 230.5 kB / 0.8249 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.4418, allocations: 1.8 MB / 0.8266 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.4419, allocations: 118.7 kB / 0.8267 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.4421, allocations: 151.9 kB / 0.8269 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.445, allocations: 1.998 MB / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.445, allocations: 3.906 kB / 0.8288 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.4452, allocations: 63.98 kB / 0.8289 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.4452, allocations: 43.94 kB / 0.8289 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.4478, allocations: 1.79 MB / 0.8307 GB, free: 2.211 MB / 0.5919 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.01026/0.458, allocations: 7.594 MB / 0.8381 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.4598, allocations: 1.448 MB / 0.8395 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.4606, allocations: 0.6641 MB / 0.8402 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005784/0.4664, allocations: 3.858 MB / 0.8439 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.4665, allocations: 39.56 kB / 0.844 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.4665, allocations: 0 / 0.844 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.002291/0.4688, allocations: 1.51 MB / 0.8454 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4688, allocations: 69.61 kB / 0.8455 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.4708, allocations: 1.641 MB / 0.8471 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.4709, allocations: 49.7 kB / 0.8472 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.4715, allocations: 0.7537 MB / 0.8479 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.4718, allocations: 319.4 kB / 0.8482 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.4721, allocations: 295.3 kB / 0.8485 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4723, allocations: 361.9 kB / 0.8488 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.4733, allocations: 0.6995 MB / 0.8495 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.4745, allocations: 1.016 MB / 0.8505 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.4764, allocations: 1.632 MB / 0.8521 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4765, allocations: 3.938 kB / 0.8521 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002858/0.4793, allocations: 1.952 MB / 0.854 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4793, allocations: 12.22 kB / 0.854 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.4794, allocations: 12 kB / 0.854 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4794, allocations: 12 kB / 0.854 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4806, allocations: 343.4 kB / 0.8544 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.4807, allocations: 19.92 kB / 0.8544 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.4818, allocations: 198.1 kB / 0.8546 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4819, allocations: 59.98 kB / 0.8546 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001699/0.4836, allocations: 1.28 MB / 0.8559 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/0.4848, allocations: 1.016 MB / 0.8569 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001953/0.4867, allocations: 1.62 MB / 0.8585 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.4867, allocations: 0 / 0.8585 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00284/0.4896, allocations: 1.959 MB / 0.8604 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4896, allocations: 8 kB / 0.8604 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4896, allocations: 8 kB / 0.8604 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4896, allocations: 16.75 kB / 0.8604 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.4908, allocations: 335.5 kB / 0.8607 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.4909, allocations: 27.92 kB / 0.8608 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.4919, allocations: 143 kB / 0.8609 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.492, allocations: 56 kB / 0.8609 GB, free: 1.977 MB / 0.6231 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.0003025/0.4923, allocations: 263.8 kB / 0.8612 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.4926, allocations: 150.1 kB / 0.8613 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.4946, allocations: 1.286 MB / 0.8626 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.4961, allocations: 1.288 MB / 0.8639 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.4961, allocations: 0 / 0.8639 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.4966, allocations: 386.9 kB / 0.8642 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4968, allocations: 20 kB / 0.8642 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.4976, allocations: 43.94 kB / 0.8643 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.4977, allocations: 52.88 kB / 0.8643 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001983/0.4996, allocations: 1.259 MB / 0.8656 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002406/0.5021, allocations: 2.017 MB / 0.8675 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006167/0.5027, allocations: 0.527 MB / 0.868 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001443/0.5041, allocations: 1.165 MB / 0.8692 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of Backend: time 2.91e-07/0.5042, allocations: 4 kB / 0.8692 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004131/0.5083, allocations: 2.302 MB / 0.8714 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006699/0.515, allocations: 4.383 MB / 0.8757 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of Templates: time 0.06007/0.5751, allocations: 42.46 MB / 0.9172 GB, free: 8.645 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)