Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001007/0.001007, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009895/0.0009894, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9281/0.9281, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003295, allocations: 8 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.3225/0.4686, allocations: 51.85 MB / 0.6386 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.4877, allocations: 15.1 MB / 0.6533 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/0.4919, allocations: 78.41 kB / 0.6534 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.4949, allocations: 0.9578 MB / 0.6544 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006009/0.501, allocations: 2.148 MB / 0.6565 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.5062, allocations: 2.006 MB / 0.6584 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006878/0.5131, allocations: 6.009 MB / 0.6643 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.5155, allocations: 1.353 MB / 0.6656 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.5191, allocations: 1.614 MB / 0.6672 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.5216, allocations: 1.297 MB / 0.6684 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.5219, allocations: 64.97 kB / 0.6685 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.5255, allocations: 1.711 MB / 0.6702 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.5261, allocations: 426.3 kB / 0.6706 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.5273, allocations: 0.9361 MB / 0.6715 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.5322, allocations: 3.161 MB / 0.6746 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5322, allocations: 0.5625 kB / 0.6746 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5322, allocations: 1.094 kB / 0.6746 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-05/0.5323, allocations: 0 / 0.6746 GB, free: 2.934 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.004035/0.5363, allocations: 2.175 MB / 0.6767 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5364, allocations: 9.875 kB / 0.6767 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.5385, allocations: 487.7 kB / 0.6772 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.5415, allocations: 1.65 MB / 0.6788 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.5419, allocations: 159.4 kB / 0.679 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.5421, allocations: 121.9 kB / 0.6791 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.545, allocations: 1.368 MB / 0.6804 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.545, allocations: 6.156 kB / 0.6804 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.5452, allocations: 47.67 kB / 0.6805 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.5452, allocations: 44.05 kB / 0.6805 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.5482, allocations: 1.132 MB / 0.6816 GB, free: 15.3 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.009604/0.5578, allocations: 6.997 MB / 0.6884 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.5603, allocations: 1.427 MB / 0.6898 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.5614, allocations: 449.7 kB / 0.6903 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005333/0.5667, allocations: 3.139 MB / 0.6933 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.5678, allocations: 466 kB / 0.6938 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004716/0.5683, allocations: 79.42 kB / 0.6938 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.344e-06/0.5683, allocations: 1.062 kB / 0.6938 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003176/0.5715, allocations: 1.274 MB / 0.6951 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.5715, allocations: 62.47 kB / 0.6951 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.5739, allocations: 1.518 MB / 0.6966 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.574, allocations: 43.45 kB / 0.6967 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.5748, allocations: 0.8783 MB / 0.6975 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.5751, allocations: 216.8 kB / 0.6977 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.5752, allocations: 89.72 kB / 0.6978 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.5754, allocations: 343.3 kB / 0.6981 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5765, allocations: 395.8 kB / 0.6985 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.5778, allocations: 0.7838 MB / 0.6993 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.5802, allocations: 1.149 MB / 0.7004 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.5802, allocations: 3.906 kB / 0.7004 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003153/0.5833, allocations: 1.347 MB / 0.7017 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.5837, allocations: 436.5 kB / 0.7021 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.5838, allocations: 11.22 kB / 0.7022 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.5838, allocations: 19.88 kB / 0.7022 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5849, allocations: 270.8 kB / 0.7024 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.033e-05/0.5849, allocations: 20 kB / 0.7025 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.5864, allocations: 124.2 kB / 0.7026 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5865, allocations: 56.53 kB / 0.7026 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.5865, allocations: 4.531 kB / 0.7026 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.5891, allocations: 1.146 MB / 0.7038 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5891, allocations: 12.28 kB / 0.7038 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.5892, allocations: 19.53 kB / 0.7038 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.5901, allocations: 270.5 kB / 0.704 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.5901, allocations: 23.98 kB / 0.7041 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5915, allocations: 125.7 kB / 0.7042 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5916, allocations: 54.58 kB / 0.7042 GB, free: 15.97 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 (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.0009195/0.5925, allocations: 476.5 kB / 0.7047 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.5928, allocations: 166.7 kB / 0.7048 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.5955, allocations: 1.161 MB / 0.706 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5955, allocations: 8.25 kB / 0.706 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5955, allocations: 0 / 0.706 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/0.5976, allocations: 1.004 MB / 0.707 GB, free: 14.28 MB / 0.5294 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.004502/0.6021, allocations: 2.436 MB / 0.7093 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6021, allocations: 3.25 kB / 0.7094 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.6028, allocations: 155.7 kB / 0.7095 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/0.603, allocations: 37.5 kB / 0.7095 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.6031, allocations: 24.89 kB / 0.7096 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009946/0.6041, allocations: 1.317 MB / 0.7108 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6041, allocations: 3.938 kB / 0.7109 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.6073, allocations: 1.612 MB / 0.7124 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.6078, allocations: 343.2 kB / 0.7128 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.6081, allocations: 15 kB / 0.7128 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/0.6091, allocations: 113.6 kB / 0.7129 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.6092, allocations: 57.92 kB / 0.7129 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.6093, allocations: 32.56 kB / 0.713 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001434/0.6107, allocations: 1.082 MB / 0.714 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6107, allocations: 0 / 0.714 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002541/0.6133, allocations: 0.8692 MB / 0.7149 GB, free: 8.301 MB / 0.5294 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.001692/0.615, allocations: 0.715 MB / 0.7156 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003585/0.6186, allocations: 1.645 MB / 0.7172 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6186, allocations: 0 / 0.7172 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6198, allocations: 0.5619 MB / 0.7177 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.6232, allocations: 0.7194 MB / 0.7184 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.6287, allocations: 3.793 MB / 0.7221 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.6296, allocations: 1.36 MB / 0.7235 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001611/0.6312, allocations: 414 kB / 0.7238 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.6315, allocations: 139.4 kB / 0.724 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 4.5e-07/0.6316, allocations: 0 / 0.724 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.05155/0.6831, allocations: 29.89 MB / 0.7532 GB, free: 1.5 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)