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.007709/0.007709, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001347/0.001347, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.66 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1672, allocations: 80.92 MB / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02882/0.1961, allocations: 28.57 MB / 0.6925 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2076, allocations: 7.874 MB / 0.7002 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.2097, allocations: 31.81 kB / 0.7003 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.2114, allocations: 429.2 kB / 0.7007 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.2153, allocations: 1.061 MB / 0.7017 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.2187, allocations: 1.072 MB / 0.7027 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.2243, allocations: 4.918 MB / 0.7075 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.2272, allocations: 2.293 MB / 0.7098 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.2309, allocations: 1.833 MB / 0.7116 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.2327, allocations: 1.463 MB / 0.713 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.2329, allocations: 232 kB / 0.7132 GB, free: 3.887 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2354, allocations: 1.314 MB / 0.7145 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.2359, allocations: 0.5452 MB / 0.715 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.2373, allocations: 1.155 MB / 0.7162 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.2417, allocations: 3.693 MB / 0.7198 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2417, allocations: 3.984 kB / 0.7198 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2417, allocations: 0 / 0.7198 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.135e-05/0.2418, allocations: 0 / 0.7198 GB, free: 13.16 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.004514/0.2463, allocations: 2.557 MB / 0.7223 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2463, allocations: 13.09 kB / 0.7223 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/0.2471, allocations: 234.3 kB / 0.7225 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.2499, allocations: 1.8 MB / 0.7243 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.25, allocations: 122.7 kB / 0.7244 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.2502, allocations: 152 kB / 0.7245 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.2532, allocations: 1.99 MB / 0.7265 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.2533, allocations: 0 / 0.7265 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.2534, allocations: 67.98 kB / 0.7265 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.2535, allocations: 39.94 kB / 0.7266 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.2561, allocations: 1.798 MB / 0.7283 GB, free: 4.211 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.0114/0.2675, allocations: 7.586 MB / 0.7357 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.2694, allocations: 1.44 MB / 0.7371 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008587/0.2703, allocations: 0.6679 MB / 0.7378 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006017/0.2763, allocations: 3.847 MB / 0.7416 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.2764, allocations: 59.48 kB / 0.7416 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.244e-06/0.2764, allocations: 3.938 kB / 0.7416 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002413/0.2788, allocations: 1.51 MB / 0.7431 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.2789, allocations: 60.41 kB / 0.7431 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.281, allocations: 1.641 MB / 0.7448 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.281, allocations: 49.7 kB / 0.7448 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006559/0.2817, allocations: 0.7614 MB / 0.7455 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.282, allocations: 315.5 kB / 0.7458 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.2824, allocations: 299.4 kB / 0.7461 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2826, allocations: 365.9 kB / 0.7465 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/0.2836, allocations: 0.6878 MB / 0.7472 GB, free: 220 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4278/0.7114, allocations: 1.016 MB / 0.7481 GB, free: 77.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.7141, allocations: 1.625 MB / 0.7497 GB, free: 77.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.7142, allocations: 2.438 kB / 0.7497 GB, free: 77.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00357/0.7177, allocations: 1.96 MB / 0.7516 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.7178, allocations: 8.125 kB / 0.7517 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7178, allocations: 9.641 kB / 0.7517 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.7179, allocations: 15.38 kB / 0.7517 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.7192, allocations: 331.5 kB / 0.752 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.7192, allocations: 25.14 kB / 0.752 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7206, allocations: 200.9 kB / 0.7522 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.7207, allocations: 61.77 kB / 0.7523 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002337/0.7231, allocations: 1.284 MB / 0.7535 GB, free: 76.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001431/0.7245, allocations: 1.024 MB / 0.7545 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002443/0.7269, allocations: 1.613 MB / 0.7561 GB, free: 74.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.381e-05/0.727, allocations: 2.594 kB / 0.7561 GB, free: 74.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003817/0.7308, allocations: 1.95 MB / 0.758 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.7308, allocations: 10.72 kB / 0.758 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.7309, allocations: 11.47 kB / 0.758 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.7309, allocations: 16.22 kB / 0.758 GB, free: 74.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.7322, allocations: 335.2 kB / 0.7584 GB, free: 74.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/0.7323, allocations: 23.62 kB / 0.7584 GB, free: 74.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.7336, allocations: 145.9 kB / 0.7585 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.7338, allocations: 62.11 kB / 0.7586 GB, free: 74.11 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.0004401/0.7342, allocations: 262.7 kB / 0.7588 GB, free: 73.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.7346, allocations: 151.4 kB / 0.759 GB, free: 73.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.7369, allocations: 1.279 MB / 0.7602 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.7369, allocations: 16.81 kB / 0.7602 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7369, allocations: 0 / 0.7602 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.7384, allocations: 1.29 MB / 0.7615 GB, free: 72.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.7431, allocations: 2.954 MB / 0.7644 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7431, allocations: 1.062 kB / 0.7644 GB, free: 71.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.7439, allocations: 187.5 kB / 0.7646 GB, free: 71.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.7439, allocations: 4.875 kB / 0.7646 GB, free: 71.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.744, allocations: 24.33 kB / 0.7646 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.744, allocations: 7.891 kB / 0.7646 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.744, allocations: 1.719 kB / 0.7646 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.7468, allocations: 1.914 MB / 0.7665 GB, free: 70.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/0.7475, allocations: 408 kB / 0.7669 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.7477, allocations: 20.47 kB / 0.7669 GB, free: 70.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.7485, allocations: 54.41 kB / 0.7669 GB, free: 70.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.7486, allocations: 52.42 kB / 0.767 GB, free: 70.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.7487, allocations: 37.12 kB / 0.767 GB, free: 70.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001789/0.7505, allocations: 1.237 MB / 0.7682 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7505, allocations: 1 kB / 0.7682 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003151/0.7537, allocations: 0.9125 MB / 0.7691 GB, free: 69.5 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.0008985/0.7546, allocations: 370.1 kB / 0.7695 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003859/0.7585, allocations: 2.332 MB / 0.7717 GB, free: 68.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.7585, allocations: 1.375 kB / 0.7717 GB, free: 68.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008861/0.7594, allocations: 0.5216 MB / 0.7723 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/0.7638, allocations: 0.9238 MB / 0.7732 GB, free: 68.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.7699, allocations: 3.665 MB / 0.7767 GB, free: 66.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.7708, allocations: 1.689 MB / 0.7784 GB, free: 65.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002314/0.7731, allocations: 0.9138 MB / 0.7793 GB, free: 64.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.7735, allocations: 131.6 kB / 0.7794 GB, free: 64.66 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7735, allocations: 0 / 0.7794 GB, free: 64.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.04681/0.8203, allocations: 36.1 MB / 0.8147 GB, free: 30.03 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)