Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 99.06 kB / 16.27 MB, free: 5.855 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.00148/0.00148, allocations: 191.1 kB / 17.2 MB, free: 5.504 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 423.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4189, allocations: 80.19 MB / 0.5807 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04778/0.4667, allocations: 53.26 MB / 0.6327 GB, free: 8.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.492, allocations: 15.19 MB / 0.6476 GB, free: 9.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004381/0.4965, allocations: 87.5 kB / 0.6477 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.5007, allocations: 1.117 MB / 0.6488 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.5092, allocations: 2.341 MB / 0.651 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006742/0.516, allocations: 2.248 MB / 0.6532 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00904/0.525, allocations: 4.618 MB / 0.6578 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003938/0.529, allocations: 1.627 MB / 0.6593 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/0.5352, allocations: 1.904 MB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003267/0.5385, allocations: 1.346 MB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008502/0.5394, allocations: 168 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.5447, allocations: 1.841 MB / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.5459, allocations: 0.5255 MB / 0.665 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002726/0.5487, allocations: 1.03 MB / 0.666 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008114/0.5568, allocations: 3.275 MB / 0.6692 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5569, allocations: 0 / 0.6692 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5569, allocations: 4 kB / 0.6692 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001222/0.557, allocations: 0 / 0.6692 GB, free: 3.496 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00677/0.5638, allocations: 2.521 MB / 0.6717 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5638, allocations: 15.97 kB / 0.6717 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.5664, allocations: 461.5 kB / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.5707, allocations: 1.593 MB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.5711, allocations: 150.4 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.5715, allocations: 116 kB / 0.6739 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.5749, allocations: 1.35 MB / 0.6752 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.5749, allocations: 4 kB / 0.6752 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.5751, allocations: 44 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.5751, allocations: 49.98 kB / 0.6753 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.5781, allocations: 1.085 MB / 0.6764 GB, free: 11.89 MB / 0.5137 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.01132/0.5895, allocations: 7.138 MB / 0.6834 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.5921, allocations: 1.367 MB / 0.6847 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.5932, allocations: 422.9 kB / 0.6851 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006029/0.5992, allocations: 3.083 MB / 0.6881 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.6004, allocations: 446.8 kB / 0.6885 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 4.007e-06/0.6004, allocations: 4 kB / 0.6885 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003568/0.604, allocations: 1.217 MB / 0.6897 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.6041, allocations: 59.97 kB / 0.6898 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.6069, allocations: 1.537 MB / 0.6913 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.607, allocations: 41.7 kB / 0.6913 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009728/0.608, allocations: 0.8762 MB / 0.6922 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.6083, allocations: 212.9 kB / 0.6924 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.6087, allocations: 222.3 kB / 0.6926 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6088, allocations: 341.9 kB / 0.6929 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.6099, allocations: 380.6 kB / 0.6933 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.6111, allocations: 0.7515 MB / 0.694 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.6134, allocations: 1.125 MB / 0.6951 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.6134, allocations: 4 kB / 0.6951 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003146/0.6166, allocations: 1.301 MB / 0.6964 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.6167, allocations: 41.7 kB / 0.6964 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.6167, allocations: 8 kB / 0.6964 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/0.6167, allocations: 16 kB / 0.6965 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.6178, allocations: 260.2 kB / 0.6967 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/0.6178, allocations: 27.86 kB / 0.6967 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.6192, allocations: 139.6 kB / 0.6969 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.6193, allocations: 51.98 kB / 0.6969 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001589/0.6209, allocations: 0.6782 MB / 0.6976 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001219/0.6221, allocations: 0.7398 MB / 0.6983 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002103/0.6243, allocations: 1.093 MB / 0.6994 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.285e-06/0.6243, allocations: 8 kB / 0.6994 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003113/0.6274, allocations: 1.27 MB / 0.7006 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.6275, allocations: 40.2 kB / 0.7007 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6275, allocations: 12.62 kB / 0.7007 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.6275, allocations: 16 kB / 0.7007 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.6285, allocations: 255.6 kB / 0.7009 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.6285, allocations: 23.92 kB / 0.7009 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6299, allocations: 120 kB / 0.7011 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.63, allocations: 51.98 kB / 0.7011 GB, free: 0.7773 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.0003485/0.6303, allocations: 257.5 kB / 0.7014 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.6308, allocations: 165.9 kB / 0.7015 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.6337, allocations: 1.114 MB / 0.7026 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.6338, allocations: 8 kB / 0.7026 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6338, allocations: 0 / 0.7026 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.6359, allocations: 0.9743 MB / 0.7036 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.6416, allocations: 2.42 MB / 0.7059 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6416, allocations: 0 / 0.7059 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/0.6424, allocations: 147.8 kB / 0.7061 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.6426, allocations: 28.83 kB / 0.7061 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.6427, allocations: 23.98 kB / 0.7061 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.6439, allocations: 1.423 MB / 0.7075 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.644, allocations: 3.938 kB / 0.7075 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.6477, allocations: 1.545 MB / 0.709 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.6489, allocations: 342.6 kB / 0.7093 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004574/0.6493, allocations: 19.94 kB / 0.7094 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6505, allocations: 59.88 kB / 0.7094 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.6506, allocations: 52.5 kB / 0.7095 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.6507, allocations: 31.97 kB / 0.7095 GB, free: 7.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002343/0.6531, allocations: 1.093 MB / 0.7106 GB, free: 6.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6531, allocations: 0 / 0.7106 GB, free: 6.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003247/0.6563, allocations: 0.8576 MB / 0.7114 GB, free: 5.879 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/0.6586, allocations: 0.7336 MB / 0.7121 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004428/0.663, allocations: 1.656 MB / 0.7137 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.6631, allocations: 0 / 0.7137 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6644, allocations: 0.5374 MB / 0.7143 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/0.6687, allocations: 0.7631 MB / 0.715 GB, free: 2.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.6757, allocations: 3.161 MB / 0.7181 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.6771, allocations: 1.36 MB / 0.7194 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.6777, allocations: 147.4 kB / 0.7196 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/0.6777, allocations: 0 / 0.7196 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.3772/1.055, allocations: 33.25 MB / 0.752 GB, free: 153.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)