Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001595/0.001595, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001772/0.001772, allocations: 183 kB / 17.34 MB, free: 5.762 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.857/0.857, allocations: 135.2 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.84 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 80.93 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03263/0.1982, allocations: 28.6 MB / 0.6933 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2106, allocations: 7.915 MB / 0.701 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2119, allocations: 43.69 kB / 0.7011 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.2131, allocations: 421.2 kB / 0.7015 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.216, allocations: 1.061 MB / 0.7025 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.2189, allocations: 1.064 MB / 0.7035 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006157/0.2251, allocations: 4.919 MB / 0.7083 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.2282, allocations: 1.937 MB / 0.7102 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.2325, allocations: 1.829 MB / 0.712 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.2353, allocations: 1.463 MB / 0.7134 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.2358, allocations: 228 kB / 0.7137 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.2387, allocations: 1.315 MB / 0.7149 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007224/0.2394, allocations: 0.5684 MB / 0.7155 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.2414, allocations: 1.155 MB / 0.7166 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.2475, allocations: 3.707 MB / 0.7202 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2476, allocations: 0 / 0.7202 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2476, allocations: 0 / 0.7202 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001048/0.2477, allocations: 4 kB / 0.7203 GB, free: 13.34 MB / 0.5606 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.006048/0.2537, allocations: 2.617 MB / 0.7228 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2538, allocations: 13.11 kB / 0.7228 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008932/0.2546, allocations: 235.6 kB / 0.723 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.2582, allocations: 1.83 MB / 0.7248 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.2583, allocations: 114.7 kB / 0.7249 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.2587, allocations: 159.9 kB / 0.7251 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.2623, allocations: 1.994 MB / 0.727 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.2623, allocations: 4 kB / 0.727 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.2625, allocations: 56 kB / 0.7271 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.2625, allocations: 43.98 kB / 0.7271 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.2658, allocations: 1.798 MB / 0.7289 GB, free: 4.312 MB / 0.5606 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.01311/0.2789, allocations: 7.615 MB / 0.7363 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.281, allocations: 1.374 MB / 0.7377 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.282, allocations: 0.6249 MB / 0.7383 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007129/0.2891, allocations: 3.855 MB / 0.742 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.2891, allocations: 47.56 kB / 0.7421 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.384e-06/0.2891, allocations: 0 / 0.7421 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002795/0.2919, allocations: 1.522 MB / 0.7436 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.292, allocations: 64.34 kB / 0.7436 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.2944, allocations: 1.649 MB / 0.7453 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.2945, allocations: 45.7 kB / 0.7453 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.2953, allocations: 0.7671 MB / 0.746 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.2957, allocations: 337.2 kB / 0.7464 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/0.2961, allocations: 295.5 kB / 0.7466 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2963, allocations: 369.8 kB / 0.747 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.2974, allocations: 0.6917 MB / 0.7477 GB, free: 368 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3485/0.646, allocations: 1.011 MB / 0.7487 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.6487, allocations: 1.626 MB / 0.7503 GB, free: 77.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.6487, allocations: 2.625 kB / 0.7503 GB, free: 77.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003452/0.6522, allocations: 1.957 MB / 0.7522 GB, free: 76.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.6522, allocations: 8.719 kB / 0.7522 GB, free: 76.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.6523, allocations: 11.84 kB / 0.7522 GB, free: 76.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/0.6523, allocations: 20.27 kB / 0.7522 GB, free: 76.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6536, allocations: 338.4 kB / 0.7525 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.6536, allocations: 22.2 kB / 0.7525 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.655, allocations: 205.5 kB / 0.7527 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.6551, allocations: 62.09 kB / 0.7528 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002328/0.6574, allocations: 1.283 MB / 0.7541 GB, free: 76.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/0.6589, allocations: 1.015 MB / 0.755 GB, free: 75.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002453/0.6614, allocations: 1.618 MB / 0.7566 GB, free: 74.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/0.6614, allocations: 2.719 kB / 0.7566 GB, free: 74.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003909/0.6653, allocations: 1.963 MB / 0.7585 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.6654, allocations: 11.09 kB / 0.7586 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.6654, allocations: 8.75 kB / 0.7586 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.6654, allocations: 15.75 kB / 0.7586 GB, free: 74.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.6668, allocations: 331.1 kB / 0.7589 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.058e-05/0.6668, allocations: 22.48 kB / 0.7589 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.6682, allocations: 152.9 kB / 0.7591 GB, free: 74.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.6684, allocations: 61.03 kB / 0.7591 GB, free: 74.13 MB / 0.5762 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.0004231/0.6688, allocations: 266.3 kB / 0.7594 GB, free: 73.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/0.6693, allocations: 159.2 kB / 0.7595 GB, free: 73.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.6717, allocations: 1.279 MB / 0.7608 GB, free: 73.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.6717, allocations: 9.828 kB / 0.7608 GB, free: 73.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6717, allocations: 0 / 0.7608 GB, free: 73.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/0.6732, allocations: 1.288 MB / 0.762 GB, free: 72.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.6784, allocations: 2.956 MB / 0.7649 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6784, allocations: 1.188 kB / 0.7649 GB, free: 71.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.6792, allocations: 192 kB / 0.7651 GB, free: 71.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.6792, allocations: 4.812 kB / 0.7651 GB, free: 71.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.6793, allocations: 23.52 kB / 0.7651 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.6793, allocations: 5.297 kB / 0.7651 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6793, allocations: 1.062 kB / 0.7651 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.6822, allocations: 1.922 MB / 0.767 GB, free: 70.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/0.6832, allocations: 419.5 kB / 0.7674 GB, free: 70.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.6835, allocations: 21.66 kB / 0.7674 GB, free: 70.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.6843, allocations: 46.31 kB / 0.7675 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6844, allocations: 59.56 kB / 0.7675 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.6845, allocations: 31.81 kB / 0.7676 GB, free: 70.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00202/0.6865, allocations: 1.24 MB / 0.7688 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6865, allocations: 1.219 kB / 0.7688 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003377/0.6899, allocations: 0.9222 MB / 0.7697 GB, free: 69.57 MB / 0.5762 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.00101/0.6909, allocations: 367.5 kB / 0.77 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.6947, allocations: 2.228 MB / 0.7722 GB, free: 68.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6947, allocations: 1.312 kB / 0.7722 GB, free: 68.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.6955, allocations: 0.4982 MB / 0.7727 GB, free: 68.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/0.7005, allocations: 0.9254 MB / 0.7736 GB, free: 68.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.7065, allocations: 3.697 MB / 0.7772 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.7073, allocations: 1.64 MB / 0.7788 GB, free: 65.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.7079, allocations: 142.1 kB / 0.779 GB, free: 65.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7079, allocations: 0 / 0.779 GB, free: 65.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.03997/0.7479, allocations: 32.96 MB / 0.8111 GB, free: 34.29 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)