Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001468/0.001468, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001592/0.001593, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8033/0.8033, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4647, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02529/0.4901, allocations: 28.56 MB / 0.6094 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.502, allocations: 7.89 MB / 0.6171 GB, free: 9.738 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.5045, allocations: 35.81 kB / 0.6171 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.5061, allocations: 421.1 kB / 0.6175 GB, free: 9.289 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.5092, allocations: 1.003 MB / 0.6185 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.5122, allocations: 1.068 MB / 0.6196 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00564/0.5178, allocations: 4.915 MB / 0.6244 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.5208, allocations: 2.293 MB / 0.6266 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.5251, allocations: 1.789 MB / 0.6283 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.5278, allocations: 1.455 MB / 0.6298 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005/0.5283, allocations: 232 kB / 0.63 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.5316, allocations: 1.318 MB / 0.6313 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007381/0.5324, allocations: 0.5453 MB / 0.6318 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.5343, allocations: 1.159 MB / 0.6329 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.5395, allocations: 3.693 MB / 0.6365 GB, free: 5.762 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5395, allocations: 0 / 0.6365 GB, free: 5.762 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5395, allocations: 0 / 0.6365 GB, free: 5.762 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.966e-05/0.5396, allocations: 0 / 0.6365 GB, free: 5.762 MB / 478.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.005456/0.545, allocations: 2.565 MB / 0.639 GB, free: 3.141 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5451, allocations: 12.03 kB / 0.6391 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.546, allocations: 226.5 kB / 0.6393 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.5494, allocations: 1.808 MB / 0.641 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.5495, allocations: 110.7 kB / 0.6411 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.5497, allocations: 155.9 kB / 0.6413 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.553, allocations: 1.99 MB / 0.6432 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.5531, allocations: 4 kB / 0.6432 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5532, allocations: 59.94 kB / 0.6433 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.5533, allocations: 43.92 kB / 0.6433 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.556, allocations: 1.794 MB / 0.6451 GB, free: 12.82 MB / 494.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.012/0.568, allocations: 7.602 MB / 0.6525 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5698, allocations: 1.448 MB / 0.6539 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.5708, allocations: 0.6628 MB / 0.6546 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00661/0.5774, allocations: 3.859 MB / 0.6583 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.5774, allocations: 47.5 kB / 0.6584 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.5774, allocations: 0 / 0.6584 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002479/0.5799, allocations: 1.51 MB / 0.6599 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.58, allocations: 68.41 kB / 0.6599 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.5822, allocations: 1.645 MB / 0.6615 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.5824, allocations: 45.7 kB / 0.6616 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.583, allocations: 0.7575 MB / 0.6623 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.5833, allocations: 311.5 kB / 0.6626 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.5837, allocations: 295.3 kB / 0.6629 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5839, allocations: 369.8 kB / 0.6632 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.5848, allocations: 0.6956 MB / 0.6639 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.586, allocations: 1.02 MB / 0.6649 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.588, allocations: 1.62 MB / 0.6665 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.588, allocations: 4 kB / 0.6665 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003045/0.5911, allocations: 1.94 MB / 0.6684 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5911, allocations: 15.94 kB / 0.6684 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.5912, allocations: 12.12 kB / 0.6684 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.5912, allocations: 16 kB / 0.6684 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.5924, allocations: 335.5 kB / 0.6688 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.5924, allocations: 23.92 kB / 0.6688 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5937, allocations: 202 kB / 0.669 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5938, allocations: 59.98 kB / 0.669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001864/0.5957, allocations: 1.284 MB / 0.6703 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/0.5969, allocations: 1.016 MB / 0.6713 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001981/0.5989, allocations: 1.62 MB / 0.6729 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.437e-06/0.5989, allocations: 7.984 kB / 0.6729 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003074/0.602, allocations: 1.947 MB / 0.6748 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.602, allocations: 8 kB / 0.6748 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.602, allocations: 12 kB / 0.6748 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.602, allocations: 16 kB / 0.6748 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6032, allocations: 332.1 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.6032, allocations: 23.92 kB / 0.6752 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6045, allocations: 154.8 kB / 0.6753 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6046, allocations: 63.98 kB / 0.6754 GB, free: 12.57 MB / 0.5137 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.0003822/0.605, allocations: 255.8 kB / 0.6756 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.6054, allocations: 154.1 kB / 0.6758 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.6075, allocations: 1.287 MB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.6076, allocations: 8 kB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6076, allocations: 0 / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.609, allocations: 1.277 MB / 0.6783 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.6137, allocations: 2.955 MB / 0.6811 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6137, allocations: 8.062 kB / 0.6812 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.6145, allocations: 187.8 kB / 0.6813 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.6145, allocations: 4 kB / 0.6813 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.6146, allocations: 23.98 kB / 0.6814 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.6146, allocations: 7.938 kB / 0.6814 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6146, allocations: 4 kB / 0.6814 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.6172, allocations: 1.917 MB / 0.6832 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/0.6182, allocations: 402.9 kB / 0.6836 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.6185, allocations: 16 kB / 0.6836 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.6193, allocations: 59.77 kB / 0.6837 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6194, allocations: 52.94 kB / 0.6838 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.6194, allocations: 35.97 kB / 0.6838 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001697/0.6211, allocations: 1.242 MB / 0.685 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.81e-07/0.6212, allocations: 0 / 0.685 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002533/0.6237, allocations: 0.9202 MB / 0.6859 GB, free: 1.543 MB / 0.5137 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.000797/0.6245, allocations: 367.2 kB / 0.6862 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003457/0.628, allocations: 2.337 MB / 0.6885 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.628, allocations: 0 / 0.6885 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/0.6287, allocations: 0.5209 MB / 0.689 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/0.6324, allocations: 0.9202 MB / 0.6899 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.6381, allocations: 3.666 MB / 0.6935 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.6394, allocations: 1.678 MB / 0.6952 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002617/0.642, allocations: 0.9104 MB / 0.696 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.6425, allocations: 131.4 kB / 0.6962 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.6425, allocations: 0 / 0.6962 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of Templates: time 0.05497/0.6974, allocations: 35.71 MB / 0.731 GB, free: 3.676 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)