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.001446/0.001446, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001628/0.001628, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 294.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.9173/0.9173, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3676, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02774/0.3954, allocations: 28.54 MB / 0.7949 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.4058, allocations: 7.916 MB / 0.8026 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/0.4067, allocations: 35.81 kB / 0.8027 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4078, allocations: 417.2 kB / 0.8031 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.4102, allocations: 1.06 MB / 0.8041 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.4127, allocations: 1.088 MB / 0.8052 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004764/0.4174, allocations: 4.925 MB / 0.81 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.42, allocations: 2.285 MB / 0.8122 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.4231, allocations: 1.828 MB / 0.814 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.4251, allocations: 1.451 MB / 0.8154 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.4255, allocations: 231.9 kB / 0.8156 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.4278, allocations: 1.318 MB / 0.8169 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.4284, allocations: 0.553 MB / 0.8175 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.4299, allocations: 1.155 MB / 0.8186 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.4337, allocations: 3.695 MB / 0.8222 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4337, allocations: 0 / 0.8222 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4337, allocations: 0 / 0.8222 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.856e-05/0.4338, allocations: 0 / 0.8222 GB, free: 11.26 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.004965/0.4387, allocations: 2.565 MB / 0.8247 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4388, allocations: 12.03 kB / 0.8247 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.4396, allocations: 230.5 kB / 0.8249 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.4428, allocations: 1.8 MB / 0.8267 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.4429, allocations: 114.7 kB / 0.8268 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.4432, allocations: 148 kB / 0.8269 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.4463, allocations: 2.001 MB / 0.8289 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.4464, allocations: 7.906 kB / 0.8289 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.4465, allocations: 52 kB / 0.829 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.4466, allocations: 47.98 kB / 0.829 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.4492, allocations: 1.794 MB / 0.8308 GB, free: 2.312 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.0113/0.4605, allocations: 7.602 MB / 0.8382 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.4623, allocations: 1.448 MB / 0.8396 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.4632, allocations: 0.6602 MB / 0.8402 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/0.4695, allocations: 3.854 MB / 0.844 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4695, allocations: 48.77 kB / 0.844 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.665e-06/0.4695, allocations: 0 / 0.844 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.002323/0.4718, allocations: 1.506 MB / 0.8455 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4719, allocations: 64.41 kB / 0.8456 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.4739, allocations: 1.649 MB / 0.8472 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.474, allocations: 53.7 kB / 0.8472 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.4746, allocations: 0.7498 MB / 0.848 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.4749, allocations: 319.4 kB / 0.8483 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.4753, allocations: 295.3 kB / 0.8486 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4754, allocations: 361.9 kB / 0.8489 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.4764, allocations: 0.6956 MB / 0.8496 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.4777, allocations: 1.024 MB / 0.8506 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.4798, allocations: 1.62 MB / 0.8522 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.4798, allocations: 4 kB / 0.8522 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002942/0.4827, allocations: 1.955 MB / 0.8541 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4828, allocations: 12.22 kB / 0.8541 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4828, allocations: 11.98 kB / 0.8541 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4828, allocations: 16 kB / 0.8541 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4841, allocations: 335.5 kB / 0.8544 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/0.4841, allocations: 19.94 kB / 0.8545 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4852, allocations: 198.1 kB / 0.8546 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.4853, allocations: 59.98 kB / 0.8547 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001699/0.487, allocations: 1.284 MB / 0.856 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/0.4883, allocations: 1.016 MB / 0.857 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001992/0.4903, allocations: 1.616 MB / 0.8585 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/0.4903, allocations: 4 kB / 0.8585 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002865/0.4931, allocations: 1.955 MB / 0.8604 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4932, allocations: 8 kB / 0.8604 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4932, allocations: 8 kB / 0.8605 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4932, allocations: 16.75 kB / 0.8605 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4944, allocations: 339.4 kB / 0.8608 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.4944, allocations: 20 kB / 0.8608 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4955, allocations: 150.8 kB / 0.861 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4956, allocations: 59.98 kB / 0.861 GB, free: 2.07 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.0002469/0.4958, allocations: 259.8 kB / 0.8613 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.4961, allocations: 150.1 kB / 0.8614 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.498, allocations: 1.289 MB / 0.8627 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.4995, allocations: 1.288 MB / 0.8639 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4995, allocations: 0 / 0.8639 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/0.5002, allocations: 387 kB / 0.8643 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.5004, allocations: 31.98 kB / 0.8643 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.5012, allocations: 39.95 kB / 0.8644 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.5013, allocations: 52.86 kB / 0.8644 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002058/0.5033, allocations: 1.247 MB / 0.8656 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002457/0.5058, allocations: 2.021 MB / 0.8676 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006354/0.5064, allocations: 0.527 MB / 0.8681 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001431/0.5079, allocations: 1.165 MB / 0.8693 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of Backend: time 3.51e-07/0.5079, allocations: 3.938 kB / 0.8693 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003979/0.5119, allocations: 2.31 MB / 0.8715 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006723/0.5186, allocations: 4.372 MB / 0.8758 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.05808/0.5767, allocations: 42.46 MB / 0.9173 GB, free: 8.738 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)