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.001432/0.001432, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001554/0.001554, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.385/1.385, 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/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 63.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3891, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04381/0.433, allocations: 53.27 MB / 0.6335 GB, free: 8.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.4554, allocations: 15.19 MB / 0.6483 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.4589, allocations: 95.44 kB / 0.6484 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.4626, allocations: 1.119 MB / 0.6495 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.4695, allocations: 2.335 MB / 0.6518 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.4754, allocations: 2.269 MB / 0.654 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006495/0.4819, allocations: 4.621 MB / 0.6585 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.4844, allocations: 1.631 MB / 0.6601 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.4886, allocations: 1.904 MB / 0.662 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.4907, allocations: 1.349 MB / 0.6633 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.491, allocations: 168 kB / 0.6635 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.4946, allocations: 1.841 MB / 0.6653 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.4952, allocations: 0.5255 MB / 0.6658 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.4963, allocations: 1.034 MB / 0.6668 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.5009, allocations: 3.322 MB / 0.67 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5009, allocations: 0 / 0.67 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.501, allocations: 0 / 0.67 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.812e-05/0.501, allocations: 0 / 0.67 GB, free: 3.352 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.004385/0.5054, allocations: 2.529 MB / 0.6725 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5054, allocations: 8.031 kB / 0.6725 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.5075, allocations: 457.5 kB / 0.6729 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.511, allocations: 1.675 MB / 0.6746 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.5111, allocations: 94.2 kB / 0.6747 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5113, allocations: 116 kB / 0.6748 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.5138, allocations: 1.339 MB / 0.6761 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.5138, allocations: 7.938 kB / 0.6761 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.5139, allocations: 51.98 kB / 0.6761 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.514, allocations: 45.98 kB / 0.6762 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.5165, allocations: 1.074 MB / 0.6772 GB, free: 11.74 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.009691/0.5262, allocations: 7.08 MB / 0.6841 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.5285, allocations: 1.363 MB / 0.6855 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/0.5294, allocations: 418.9 kB / 0.6859 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005109/0.5346, allocations: 3.079 MB / 0.6889 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5356, allocations: 434.9 kB / 0.6893 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.5356, allocations: 0 / 0.6893 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003084/0.5387, allocations: 1.209 MB / 0.6905 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5388, allocations: 67.95 kB / 0.6905 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.5408, allocations: 1.533 MB / 0.692 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/0.5409, allocations: 45.7 kB / 0.6921 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000703/0.5416, allocations: 0.8684 MB / 0.6929 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5418, allocations: 220.9 kB / 0.6931 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/0.5421, allocations: 210.3 kB / 0.6933 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5422, allocations: 341.9 kB / 0.6937 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.5431, allocations: 380.6 kB / 0.694 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5443, allocations: 0.7514 MB / 0.6948 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.5463, allocations: 1.113 MB / 0.6958 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5463, allocations: 4 kB / 0.6958 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002709/0.549, allocations: 1.293 MB / 0.6971 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.5491, allocations: 33.7 kB / 0.6971 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5491, allocations: 12 kB / 0.6972 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.5491, allocations: 20 kB / 0.6972 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5501, allocations: 256.2 kB / 0.6974 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/0.5502, allocations: 23.92 kB / 0.6974 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.5513, allocations: 143.6 kB / 0.6976 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/0.5514, allocations: 51.98 kB / 0.6976 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/0.5528, allocations: 0.6704 MB / 0.6983 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/0.554, allocations: 0.7359 MB / 0.699 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001947/0.5559, allocations: 1.082 MB / 0.7001 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/0.556, allocations: 4 kB / 0.7001 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002708/0.5587, allocations: 1.263 MB / 0.7013 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5587, allocations: 44.44 kB / 0.7013 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5588, allocations: 12 kB / 0.7013 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5588, allocations: 16 kB / 0.7014 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5598, allocations: 251.6 kB / 0.7016 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.5598, allocations: 24.06 kB / 0.7016 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.561, allocations: 120 kB / 0.7017 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5611, allocations: 55.92 kB / 0.7018 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.0003105/0.5614, allocations: 247.9 kB / 0.702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.5617, allocations: 165.9 kB / 0.7022 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.5644, allocations: 1.106 MB / 0.7033 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.5645, allocations: 8 kB / 0.7033 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5645, allocations: 0 / 0.7033 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/0.5664, allocations: 0.9548 MB / 0.7042 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.5713, allocations: 2.417 MB / 0.7066 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5713, allocations: 7.938 kB / 0.7066 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.572, allocations: 147.8 kB / 0.7067 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.5722, allocations: 24.84 kB / 0.7067 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.5723, allocations: 23.98 kB / 0.7068 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.5734, allocations: 1.415 MB / 0.7081 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5734, allocations: 4.094 kB / 0.7081 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.5767, allocations: 1.539 MB / 0.7097 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.5773, allocations: 350.5 kB / 0.71 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.5775, allocations: 16 kB / 0.71 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.5783, allocations: 59.88 kB / 0.7101 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5784, allocations: 48.5 kB / 0.7101 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/0.5785, allocations: 31.97 kB / 0.7101 GB, free: 7.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001546/0.5801, allocations: 1.093 MB / 0.7112 GB, free: 6.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5801, allocations: 0 / 0.7112 GB, free: 6.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002433/0.5825, allocations: 0.8615 MB / 0.712 GB, free: 5.926 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.00175/0.5843, allocations: 0.7215 MB / 0.7127 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.5878, allocations: 1.581 MB / 0.7143 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5879, allocations: 0 / 0.7143 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5891, allocations: 0.5421 MB / 0.7148 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.5921, allocations: 0.7597 MB / 0.7156 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.5971, allocations: 3.031 MB / 0.7185 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/0.598, allocations: 1.364 MB / 0.7199 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001444/0.5995, allocations: 412 kB / 0.7202 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.5998, allocations: 139.3 kB / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.835e-06/0.5998, allocations: 0 / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.3325/0.9323, allocations: 31.47 MB / 0.7511 GB, free: 156 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)