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.001647/0.001647, allocations: 105.1 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.001748/0.001748, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8096/0.8096, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 68.02 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1542, allocations: 80.93 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0306/0.1849, allocations: 28.56 MB / 0.6932 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1964, allocations: 7.885 MB / 0.7009 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.1986, allocations: 39.75 kB / 0.7009 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.2004, allocations: 409.2 kB / 0.7013 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.2041, allocations: 1.003 MB / 0.7023 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.2071, allocations: 1.068 MB / 0.7033 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006057/0.2132, allocations: 4.914 MB / 0.7081 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.2166, allocations: 2.296 MB / 0.7104 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.2209, allocations: 1.823 MB / 0.7122 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.2236, allocations: 1.467 MB / 0.7136 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007503/0.2244, allocations: 228 kB / 0.7138 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.2277, allocations: 1.311 MB / 0.7151 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009204/0.2286, allocations: 0.5453 MB / 0.7156 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.2311, allocations: 1.159 MB / 0.7167 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.2365, allocations: 3.697 MB / 0.7204 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2366, allocations: 0 / 0.7204 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2366, allocations: 0 / 0.7204 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.00012/0.2367, allocations: 0 / 0.7204 GB, free: 13.25 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.006539/0.2433, allocations: 2.56 MB / 0.7229 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2433, allocations: 13.11 kB / 0.7229 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.2446, allocations: 230.4 kB / 0.7231 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.2482, allocations: 1.807 MB / 0.7249 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2484, allocations: 114.7 kB / 0.725 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/0.2488, allocations: 148 kB / 0.7251 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/0.2527, allocations: 1.994 MB / 0.7271 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.936e-05/0.2528, allocations: 11.94 kB / 0.7271 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.253, allocations: 56 kB / 0.7271 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.2531, allocations: 39.98 kB / 0.7272 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.2562, allocations: 1.802 MB / 0.7289 GB, free: 4.305 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.01268/0.2689, allocations: 7.59 MB / 0.7363 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.271, allocations: 1.444 MB / 0.7377 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.272, allocations: 0.6679 MB / 0.7384 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/0.279, allocations: 3.855 MB / 0.7422 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.2791, allocations: 43.56 kB / 0.7422 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.326e-06/0.2791, allocations: 3.938 kB / 0.7422 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002806/0.2819, allocations: 1.514 MB / 0.7437 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2819, allocations: 60.41 kB / 0.7437 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.2847, allocations: 1.649 MB / 0.7453 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.2849, allocations: 45.7 kB / 0.7454 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007289/0.2857, allocations: 0.7653 MB / 0.7461 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.2861, allocations: 307.5 kB / 0.7464 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005829/0.2867, allocations: 287.4 kB / 0.7467 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2869, allocations: 377.8 kB / 0.7471 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2879, allocations: 0.6878 MB / 0.7477 GB, free: 312 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3426/0.6306, allocations: 1.01 MB / 0.7487 GB, free: 77.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.633, allocations: 1.628 MB / 0.7503 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.633, allocations: 2.625 kB / 0.7503 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003227/0.6363, allocations: 1.949 MB / 0.7522 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.6363, allocations: 8.484 kB / 0.7522 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.6364, allocations: 9.188 kB / 0.7522 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/0.6364, allocations: 20.75 kB / 0.7523 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.6377, allocations: 338.7 kB / 0.7526 GB, free: 76.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.6377, allocations: 22.34 kB / 0.7526 GB, free: 76.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.639, allocations: 195.7 kB / 0.7528 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.6391, allocations: 61.58 kB / 0.7528 GB, free: 76.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002048/0.6412, allocations: 1.284 MB / 0.7541 GB, free: 76.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001369/0.6426, allocations: 1.019 MB / 0.7551 GB, free: 75.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002251/0.6448, allocations: 1.616 MB / 0.7567 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/0.6448, allocations: 2.406 kB / 0.7567 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003775/0.6486, allocations: 1.952 MB / 0.7586 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6487, allocations: 8.875 kB / 0.7586 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6487, allocations: 9.094 kB / 0.7586 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.6487, allocations: 19.72 kB / 0.7586 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6501, allocations: 334.6 kB / 0.7589 GB, free: 74.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.6501, allocations: 22.47 kB / 0.759 GB, free: 74.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6514, allocations: 146.8 kB / 0.7591 GB, free: 74.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.6515, allocations: 61.47 kB / 0.7592 GB, free: 74.04 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.0003852/0.6519, allocations: 263.9 kB / 0.7594 GB, free: 73.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.6523, allocations: 151.3 kB / 0.7596 GB, free: 73.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.6544, allocations: 1.279 MB / 0.7608 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.6545, allocations: 19.8 kB / 0.7608 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.6545, allocations: 0 / 0.7608 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.6559, allocations: 1.29 MB / 0.7621 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.6605, allocations: 2.954 MB / 0.765 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6605, allocations: 2.047 kB / 0.765 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.6614, allocations: 196.4 kB / 0.7652 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.6614, allocations: 4.906 kB / 0.7652 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.6614, allocations: 28.31 kB / 0.7652 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6615, allocations: 4.047 kB / 0.7652 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6615, allocations: 4.406 kB / 0.7652 GB, free: 71.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.6642, allocations: 1.908 MB / 0.7671 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008305/0.6651, allocations: 407.5 kB / 0.7674 GB, free: 70.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.6653, allocations: 24.97 kB / 0.7675 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.6661, allocations: 49.25 kB / 0.7675 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6663, allocations: 49.78 kB / 0.7676 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.6663, allocations: 37.19 kB / 0.7676 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001907/0.6683, allocations: 1.237 MB / 0.7688 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6683, allocations: 0 / 0.7688 GB, free: 69.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002876/0.6711, allocations: 0.9136 MB / 0.7697 GB, free: 69.44 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.0008704/0.672, allocations: 374.7 kB / 0.7701 GB, free: 69.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.6757, allocations: 2.328 MB / 0.7723 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6757, allocations: 2.719 kB / 0.7723 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.6765, allocations: 0.5215 MB / 0.7728 GB, free: 68.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/0.6809, allocations: 0.926 MB / 0.7737 GB, free: 68.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/0.687, allocations: 3.643 MB / 0.7773 GB, free: 66.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.6883, allocations: 1.634 MB / 0.7789 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/0.6889, allocations: 148.4 kB / 0.779 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.689, allocations: 0 / 0.779 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.03999/0.729, allocations: 33.05 MB / 0.8113 GB, free: 33.93 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)