Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001357/0.001357, allocations: 108.3 kB / 16.27 MB, free: 6.355 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.001127/0.001127, allocations: 188.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5495 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 74.81 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4397/0.7008, allocations: 28.59 MB / 0.8119 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.712, allocations: 7.838 MB / 0.8196 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.7136, allocations: 36.41 kB / 0.8196 GB, free: 26.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.7148, allocations: 412.7 kB / 0.82 GB, free: 26.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.7177, allocations: 1 MB / 0.821 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.7209, allocations: 1.062 MB / 0.822 GB, free: 25.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005832/0.7267, allocations: 4.868 MB / 0.8268 GB, free: 23.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.7301, allocations: 2.292 MB / 0.829 GB, free: 22.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.7347, allocations: 1.783 MB / 0.8308 GB, free: 21.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.7378, allocations: 1.456 MB / 0.8322 GB, free: 20.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006227/0.7385, allocations: 233.8 kB / 0.8324 GB, free: 20.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.7423, allocations: 1.302 MB / 0.8337 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008052/0.7432, allocations: 0.5482 MB / 0.8342 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.7454, allocations: 1.154 MB / 0.8354 GB, free: 19.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.7518, allocations: 3.641 MB / 0.8389 GB, free: 18.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7519, allocations: 0 / 0.8389 GB, free: 18.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7519, allocations: 1.031 kB / 0.8389 GB, free: 18.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001226/0.752, allocations: 0 / 0.8389 GB, free: 18.05 MB / 0.6544 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.00708/0.7591, allocations: 2.549 MB / 0.8414 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7591, allocations: 9.625 kB / 0.8414 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7602, allocations: 229.5 kB / 0.8416 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.7636, allocations: 1.698 MB / 0.8433 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.7637, allocations: 111.9 kB / 0.8434 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.764, allocations: 153.1 kB / 0.8435 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.7678, allocations: 1.994 MB / 0.8455 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.7679, allocations: 7.984 kB / 0.8455 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.768, allocations: 56.5 kB / 0.8455 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.7681, allocations: 37.61 kB / 0.8456 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.7711, allocations: 1.801 MB / 0.8473 GB, free: 14.04 MB / 0.6544 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.01184/0.783, allocations: 7.648 MB / 0.8548 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7848, allocations: 1.442 MB / 0.8562 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/0.7856, allocations: 0.6669 MB / 0.8569 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006059/0.7917, allocations: 3.846 MB / 0.8606 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7917, allocations: 46.62 kB / 0.8607 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.885e-06/0.7917, allocations: 0 / 0.8607 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.002449/0.7942, allocations: 1.516 MB / 0.8622 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.7942, allocations: 61.34 kB / 0.8622 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.7965, allocations: 1.624 MB / 0.8638 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.7967, allocations: 47.89 kB / 0.8638 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.7972, allocations: 0.7454 MB / 0.8646 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.7974, allocations: 311.8 kB / 0.8649 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.7979, allocations: 293.7 kB / 0.8651 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.798, allocations: 371.6 kB / 0.8655 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.799, allocations: 0.6935 MB / 0.8662 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8001, allocations: 1.02 MB / 0.8672 GB, free: 224 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.8024, allocations: 1.624 MB / 0.8688 GB, free: 15.14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.8024, allocations: 2.812 kB / 0.8688 GB, free: 15.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003571/0.806, allocations: 1.945 MB / 0.8707 GB, free: 14.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.806, allocations: 9.469 kB / 0.8707 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.8061, allocations: 9 kB / 0.8707 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/0.8061, allocations: 19.06 kB / 0.8707 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.8074, allocations: 336.1 kB / 0.871 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/0.8074, allocations: 24.14 kB / 0.871 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.8091, allocations: 199.1 kB / 0.8712 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.8092, allocations: 54.47 kB / 0.8713 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002259/0.8115, allocations: 1.285 MB / 0.8725 GB, free: 13.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001284/0.8128, allocations: 1.02 MB / 0.8735 GB, free: 12.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002146/0.8149, allocations: 1.622 MB / 0.8751 GB, free: 11.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.296e-06/0.815, allocations: 2.344 kB / 0.8751 GB, free: 11.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003458/0.8184, allocations: 1.948 MB / 0.877 GB, free: 10.33 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8184, allocations: 8.844 kB / 0.877 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8185, allocations: 9.062 kB / 0.877 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.8185, allocations: 18.09 kB / 0.8771 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8197, allocations: 336.5 kB / 0.8774 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.8198, allocations: 20.47 kB / 0.8774 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8213, allocations: 154.8 kB / 0.8775 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8214, allocations: 61.3 kB / 0.8776 GB, free: 9.805 MB / 0.67 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.0004266/0.8219, allocations: 255.8 kB / 0.8778 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004218/0.8223, allocations: 150.1 kB / 0.878 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.8244, allocations: 1.287 MB / 0.8792 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.8245, allocations: 8 kB / 0.8793 GB, free: 8.098 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8245, allocations: 0 / 0.8793 GB, free: 8.098 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001512/0.826, allocations: 1.292 MB / 0.8805 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.8312, allocations: 2.947 MB / 0.8834 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8313, allocations: 0 / 0.8834 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.832, allocations: 183.8 kB / 0.8836 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/0.8321, allocations: 8 kB / 0.8836 GB, free: 3.508 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.8322, allocations: 25.3 kB / 0.8836 GB, free: 3.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.8322, allocations: 7.938 kB / 0.8836 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8322, allocations: 0 / 0.8836 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.8351, allocations: 1.921 MB / 0.8855 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009637/0.836, allocations: 398.9 kB / 0.8859 GB, free: 1.109 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/0.8365, allocations: 19.94 kB / 0.8859 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.8376, allocations: 51.88 kB / 0.8859 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.8377, allocations: 60.92 kB / 0.886 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.8378, allocations: 27.98 kB / 0.886 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002225/0.8401, allocations: 1.226 MB / 0.8872 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8401, allocations: 0 / 0.8872 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003887/0.844, allocations: 0.9163 MB / 0.8881 GB, free: 14.81 MB / 0.6856 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.001123/0.8451, allocations: 374.8 kB / 0.8885 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005315/0.8504, allocations: 2.824 MB / 0.8912 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.8505, allocations: 4 kB / 0.8912 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.8513, allocations: 0.5193 MB / 0.8917 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/0.8565, allocations: 0.9331 MB / 0.8926 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.8635, allocations: 3.662 MB / 0.8962 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.8651, allocations: 1.626 MB / 0.8978 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/0.8659, allocations: 143.4 kB / 0.898 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/0.866, allocations: 4 kB / 0.898 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of Templates: time 0.0531/0.9191, allocations: 32.42 MB / 0.9296 GB, free: 4.594 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)