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.00105/0.00105, allocations: 112.6 kB / 17.09 MB, free: 5.961 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.001005/0.001005, allocations: 194.9 kB / 18.03 MB, free: 5.043 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.198/1.198, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6624/0.6624, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 71.03 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1145, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02655/0.1411, allocations: 28.54 MB / 0.6606 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009573/0.1507, allocations: 7.896 MB / 0.6683 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009507/0.1517, allocations: 39.75 kB / 0.6684 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1527, allocations: 405.2 kB / 0.6687 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.155, allocations: 1.012 MB / 0.6697 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1575, allocations: 1.081 MB / 0.6708 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004975/0.1625, allocations: 4.926 MB / 0.6756 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.1651, allocations: 2.285 MB / 0.6778 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.1682, allocations: 1.825 MB / 0.6796 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.1703, allocations: 1.451 MB / 0.681 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.1707, allocations: 235.9 kB / 0.6813 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.1731, allocations: 1.326 MB / 0.6825 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/0.1737, allocations: 0.5453 MB / 0.6831 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.1751, allocations: 1.155 MB / 0.6842 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1788, allocations: 3.677 MB / 0.6878 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1788, allocations: 4 kB / 0.6878 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1788, allocations: 0 / 0.6878 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.772e-05/0.1789, allocations: 0 / 0.6878 GB, free: 11.82 MB / 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.004608/0.1835, allocations: 2.561 MB / 0.6903 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1835, allocations: 11.97 kB / 0.6903 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007217/0.1842, allocations: 234.5 kB / 0.6905 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.1868, allocations: 1.808 MB / 0.6923 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.1869, allocations: 118.7 kB / 0.6924 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.1871, allocations: 148 kB / 0.6926 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.1899, allocations: 1.995 MB / 0.6945 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.19, allocations: 0 / 0.6945 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1901, allocations: 63.98 kB / 0.6946 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.1902, allocations: 39.94 kB / 0.6946 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.1926, allocations: 1.794 MB / 0.6964 GB, free: 2.879 MB / 0.5294 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.009401/0.2021, allocations: 7.602 MB / 0.7038 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.2038, allocations: 1.437 MB / 0.7052 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008666/0.2046, allocations: 0.6685 MB / 0.7058 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/0.2101, allocations: 3.854 MB / 0.7096 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2102, allocations: 47.5 kB / 0.7096 GB, free: 4.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 2.264e-06/0.2102, allocations: 4 kB / 0.7097 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.002228/0.2124, allocations: 1.51 MB / 0.7111 GB, free: 3.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2125, allocations: 60.41 kB / 0.7112 GB, free: 3.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.2144, allocations: 1.649 MB / 0.7128 GB, free: 1.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.2145, allocations: 45.7 kB / 0.7128 GB, free: 1.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.2151, allocations: 0.7575 MB / 0.7136 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.2154, allocations: 319.5 kB / 0.7139 GB, free: 228 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.2158, allocations: 287.4 kB / 0.7142 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2159, allocations: 369.9 kB / 0.7145 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.2169, allocations: 0.6917 MB / 0.7152 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.2181, allocations: 1.028 MB / 0.7162 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.2201, allocations: 1.624 MB / 0.7178 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.2201, allocations: 0 / 0.7178 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002835/0.223, allocations: 1.956 MB / 0.7197 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.223, allocations: 8 kB / 0.7197 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.223, allocations: 12 kB / 0.7197 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2231, allocations: 19.94 kB / 0.7197 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.2243, allocations: 331.5 kB / 0.72 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/0.2243, allocations: 23.92 kB / 0.7201 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.2254, allocations: 198.1 kB / 0.7203 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.2255, allocations: 59.98 kB / 0.7203 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001657/0.2272, allocations: 1.284 MB / 0.7216 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.2284, allocations: 1.024 MB / 0.7226 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001913/0.2303, allocations: 1.616 MB / 0.7241 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.2303, allocations: 4 kB / 0.7241 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002833/0.2331, allocations: 1.951 MB / 0.7261 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2332, allocations: 8 kB / 0.7261 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2332, allocations: 8.906 kB / 0.7261 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2332, allocations: 19.98 kB / 0.7261 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.2343, allocations: 339.5 kB / 0.7264 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.2344, allocations: 23.92 kB / 0.7264 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.2359, allocations: 146.9 kB / 0.7266 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.236, allocations: 59.98 kB / 0.7266 GB, free: 2.625 MB / 0.5606 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.0003665/0.2364, allocations: 263.8 kB / 0.7269 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.2369, allocations: 150.1 kB / 0.727 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.2398, allocations: 1.288 MB / 0.7283 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.2413, allocations: 1.284 MB / 0.7295 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2413, allocations: 0 / 0.7295 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.2418, allocations: 383 kB / 0.7299 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.242, allocations: 20 kB / 0.7299 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.2428, allocations: 43.94 kB / 0.73 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.2429, allocations: 57 kB / 0.73 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001887/0.2448, allocations: 1.255 MB / 0.7312 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00235/0.2471, allocations: 2.025 MB / 0.7332 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006463/0.2478, allocations: 0.5231 MB / 0.7337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001423/0.2492, allocations: 1.173 MB / 0.7349 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Backend: time 3.11e-07/0.2492, allocations: 4 kB / 0.7349 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003834/0.2531, allocations: 2.296 MB / 0.7371 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006238/0.2593, allocations: 4.379 MB / 0.7414 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of Templates: time 0.281/0.5403, allocations: 42.43 MB / 0.7828 GB, free: 83.9 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)