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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6973/0.6973, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 403.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 118.6 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 80.2 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04707/0.1772, allocations: 52.92 MB / 0.6919 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3019/0.4791, allocations: 15.27 MB / 0.7068 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.4822, allocations: 83.09 kB / 0.7068 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.487, allocations: 0.9473 MB / 0.7078 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.4942, allocations: 2.159 MB / 0.7099 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006336/0.5006, allocations: 2.012 MB / 0.7118 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.008656/0.5092, allocations: 6.036 MB / 0.7177 GB, free: 10.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.5122, allocations: 1.391 MB / 0.7191 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/0.5163, allocations: 1.692 MB / 0.7207 GB, free: 9.688 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.519, allocations: 1.363 MB / 0.7221 GB, free: 9.211 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.5196, allocations: 94.62 kB / 0.7222 GB, free: 9.207 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.5241, allocations: 1.728 MB / 0.7239 GB, free: 8.727 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007537/0.5249, allocations: 462.2 kB / 0.7243 GB, free: 8.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.5267, allocations: 0.9549 MB / 0.7252 GB, free: 7.953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.5322, allocations: 3.225 MB / 0.7284 GB, free: 6.852 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5322, allocations: 0 / 0.7284 GB, free: 6.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5322, allocations: 0 / 0.7284 GB, free: 6.852 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.5324, allocations: 0 / 0.7284 GB, free: 6.852 MB / 490.7 MB 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.005464/0.5378, allocations: 2.529 MB / 0.7308 GB, free: 4.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5379, allocations: 8.031 kB / 0.7309 GB, free: 4.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.54, allocations: 451.2 kB / 0.7313 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.543, allocations: 1.658 MB / 0.7329 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.5434, allocations: 143.8 kB / 0.733 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.5436, allocations: 120.9 kB / 0.7332 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.5459, allocations: 1.353 MB / 0.7345 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.546, allocations: 2.906 kB / 0.7345 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.5461, allocations: 46.84 kB / 0.7345 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.5461, allocations: 39.61 kB / 0.7346 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.5486, allocations: 1.101 MB / 0.7356 GB, free: 1.996 MB / 490.7 MB 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.008462/0.557, allocations: 6.956 MB / 0.7424 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.5595, allocations: 1.377 MB / 0.7438 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.5605, allocations: 428.9 kB / 0.7442 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005166/0.5657, allocations: 3.093 MB / 0.7472 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.5667, allocations: 446.7 kB / 0.7476 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005414/0.5673, allocations: 83.94 kB / 0.7477 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.554e-06/0.5673, allocations: 5.938 kB / 0.7477 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.003103/0.5704, allocations: 1.23 MB / 0.7489 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5705, allocations: 57.88 kB / 0.749 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.5724, allocations: 1.513 MB / 0.7505 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.5725, allocations: 41.61 kB / 0.7505 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.5732, allocations: 0.8866 MB / 0.7514 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.5734, allocations: 213.8 kB / 0.7516 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.5737, allocations: 210.2 kB / 0.7518 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5738, allocations: 348.1 kB / 0.7521 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/0.5748, allocations: 379.7 kB / 0.7525 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.576, allocations: 0.7536 MB / 0.7532 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.578, allocations: 1.129 MB / 0.7543 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.5781, allocations: 4 kB / 0.7543 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002866/0.5809, allocations: 1.309 MB / 0.7556 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.581, allocations: 37.7 kB / 0.7556 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.581, allocations: 8 kB / 0.7556 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.581, allocations: 16 kB / 0.7556 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/0.582, allocations: 259.9 kB / 0.7559 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.5821, allocations: 23.92 kB / 0.7559 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.5834, allocations: 116.5 kB / 0.756 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.423e-05/0.5835, allocations: 55.98 kB / 0.7561 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.5849, allocations: 0.6704 MB / 0.7567 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.5861, allocations: 0.7436 MB / 0.7575 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002093/0.5882, allocations: 1.101 MB / 0.7585 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.232e-06/0.5882, allocations: 0 / 0.7585 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002849/0.5911, allocations: 1.281 MB / 0.7598 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.5911, allocations: 43.36 kB / 0.7598 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5911, allocations: 12 kB / 0.7598 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5912, allocations: 16 kB / 0.7598 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.5921, allocations: 256.2 kB / 0.7601 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.5922, allocations: 27.91 kB / 0.7601 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.5935, allocations: 120.4 kB / 0.7602 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.5936, allocations: 51.98 kB / 0.7603 GB, free: 11.84 MB / 0.5105 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 (121): * Single equations (assignments): 119 * 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.0002889/0.5939, allocations: 249.8 kB / 0.7605 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.5941, allocations: 165.9 kB / 0.7607 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.5971, allocations: 1.128 MB / 0.7618 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.5971, allocations: 8 kB / 0.7618 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5971, allocations: 0 / 0.7618 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002078/0.5992, allocations: 0.9704 MB / 0.7627 GB, free: 9.266 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.005461/0.6047, allocations: 2.403 MB / 0.7651 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6047, allocations: 0 / 0.7651 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.6055, allocations: 155.8 kB / 0.7652 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.6057, allocations: 28.84 kB / 0.7653 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/0.6057, allocations: 23.97 kB / 0.7653 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.607, allocations: 1.315 MB / 0.7666 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.607, allocations: 0 / 0.7666 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1887/0.7957, allocations: 39.12 MB / 0.8048 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.7964, allocations: 338.5 kB / 0.8051 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.7966, allocations: 16 kB / 0.8051 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/0.7976, allocations: 103.9 kB / 0.8052 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.7977, allocations: 56.48 kB / 0.8053 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.7978, allocations: 27.98 kB / 0.8053 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001487/0.7993, allocations: 1.077 MB / 0.8063 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7993, allocations: 0 / 0.8063 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005005/0.8043, allocations: 1.389 MB / 0.8077 GB, free: 10.75 MB / 0.5573 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 (71): * Single equations (assignments): 62 * 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.001861/0.8062, allocations: 0.7567 MB / 0.8084 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003624/0.8098, allocations: 1.604 MB / 0.81 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8098, allocations: 0 / 0.81 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.8111, allocations: 0.5463 MB / 0.8105 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.8145, allocations: 0.7246 MB / 0.8112 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.8208, allocations: 4.26 MB / 0.8154 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.8217, allocations: 1.389 MB / 0.8168 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002336/0.824, allocations: 474 kB / 0.8172 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.8247, allocations: 151.4 kB / 0.8174 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/0.8247, allocations: 0 / 0.8174 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of Templates: time 0.06448/0.8892, allocations: 41.64 MB / 0.858 GB, free: 7.695 MB / 0.6042 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)