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.001492/0.001492, allocations: 105.9 kB / 16.27 MB, free: 6.348 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: 187.6 kB / 17.2 MB, free: 5.949 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.89 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3285, allocations: 80.92 MB / 0.5851 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04593/0.3744, allocations: 53.25 MB / 0.6371 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.3971, allocations: 15.2 MB / 0.6519 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.3996, allocations: 87.5 kB / 0.652 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.4025, allocations: 1.119 MB / 0.6531 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.4085, allocations: 2.335 MB / 0.6554 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.4138, allocations: 2.249 MB / 0.6576 GB, free: 172 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006388/0.4202, allocations: 4.629 MB / 0.6621 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.4226, allocations: 1.627 MB / 0.6637 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.4267, allocations: 1.911 MB / 0.6655 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.4287, allocations: 1.353 MB / 0.6668 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002853/0.429, allocations: 168 kB / 0.667 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.4327, allocations: 1.833 MB / 0.6688 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.4333, allocations: 0.5216 MB / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.4346, allocations: 1.03 MB / 0.6703 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005071/0.4397, allocations: 3.279 MB / 0.6735 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4398, allocations: 7.984 kB / 0.6735 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4398, allocations: 4 kB / 0.6735 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.4398, allocations: 0 / 0.6735 GB, free: 15.74 MB / 0.5137 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.004351/0.4442, allocations: 2.513 MB / 0.676 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4442, allocations: 9.109 kB / 0.676 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.4463, allocations: 461.5 kB / 0.6764 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.4493, allocations: 1.596 MB / 0.678 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.4497, allocations: 150.4 kB / 0.6781 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.4499, allocations: 116 kB / 0.6782 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.4525, allocations: 1.354 MB / 0.6796 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4525, allocations: 3.938 kB / 0.6796 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.4527, allocations: 44 kB / 0.6796 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.4527, allocations: 46 kB / 0.6797 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.4553, allocations: 1.085 MB / 0.6807 GB, free: 8.148 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.009797/0.4652, allocations: 7.13 MB / 0.6877 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.4677, allocations: 1.373 MB / 0.689 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/0.4687, allocations: 422.9 kB / 0.6894 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005167/0.4739, allocations: 3.083 MB / 0.6924 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.475, allocations: 450.7 kB / 0.6929 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/0.475, allocations: 4 kB / 0.6929 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.003162/0.4782, allocations: 1.217 MB / 0.6941 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4783, allocations: 63.91 kB / 0.6941 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.4804, allocations: 1.533 MB / 0.6956 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.4805, allocations: 45.7 kB / 0.6957 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/0.4813, allocations: 0.88 MB / 0.6965 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.4815, allocations: 213 kB / 0.6967 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.4818, allocations: 206.4 kB / 0.6969 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.482, allocations: 345.9 kB / 0.6972 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/0.483, allocations: 380.6 kB / 0.6976 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4843, allocations: 0.7515 MB / 0.6983 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.4865, allocations: 1.132 MB / 0.6994 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4865, allocations: 0 / 0.6994 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002962/0.4895, allocations: 1.297 MB / 0.7007 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.4896, allocations: 41.69 kB / 0.7008 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4896, allocations: 12 kB / 0.7008 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.4896, allocations: 16 kB / 0.7008 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.4906, allocations: 260.2 kB / 0.701 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/0.4907, allocations: 23.88 kB / 0.7011 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4918, allocations: 135.6 kB / 0.7012 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.4919, allocations: 59.98 kB / 0.7012 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.4934, allocations: 0.6737 MB / 0.7019 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.4946, allocations: 0.7437 MB / 0.7026 GB, free: 92 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002164/0.4968, allocations: 1.093 MB / 0.7037 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.592e-06/0.4968, allocations: 8 kB / 0.7037 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002938/0.4998, allocations: 1.262 MB / 0.7049 GB, free: 13.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.4998, allocations: 37.7 kB / 0.705 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4998, allocations: 8.625 kB / 0.705 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4999, allocations: 20 kB / 0.705 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.5008, allocations: 255.6 kB / 0.7052 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.5008, allocations: 23.92 kB / 0.7053 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.5019, allocations: 124 kB / 0.7054 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.502, allocations: 51.98 kB / 0.7054 GB, free: 13.04 MB / 0.545 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.0003074/0.5023, allocations: 255.1 kB / 0.7057 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.5026, allocations: 161.9 kB / 0.7058 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.5054, allocations: 1.126 MB / 0.7069 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5054, allocations: 8 kB / 0.7069 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5054, allocations: 0 / 0.7069 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/0.5074, allocations: 0.9665 MB / 0.7079 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.5122, allocations: 2.42 MB / 0.7102 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5122, allocations: 4 kB / 0.7102 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.5129, allocations: 147.8 kB / 0.7104 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.5131, allocations: 24.84 kB / 0.7104 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.5132, allocations: 23.98 kB / 0.7104 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.5144, allocations: 1.426 MB / 0.7118 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.5145, allocations: 11.95 kB / 0.7118 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.5179, allocations: 1.538 MB / 0.7133 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/0.5185, allocations: 342.6 kB / 0.7137 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5187, allocations: 19.94 kB / 0.7137 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.5195, allocations: 63.88 kB / 0.7137 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.5197, allocations: 52.48 kB / 0.7138 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.5197, allocations: 31.98 kB / 0.7138 GB, free: 4.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001607/0.5213, allocations: 1.093 MB / 0.7149 GB, free: 2.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5213, allocations: 0 / 0.7149 GB, free: 2.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002209/0.5236, allocations: 0.8654 MB / 0.7157 GB, free: 2.129 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.00206/0.5256, allocations: 0.7192 MB / 0.7164 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003994/0.5296, allocations: 1.652 MB / 0.7181 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5296, allocations: 3.938 kB / 0.7181 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.5309, allocations: 0.5376 MB / 0.7186 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.534, allocations: 0.7822 MB / 0.7193 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.5395, allocations: 3.15 MB / 0.7224 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.5405, allocations: 1.36 MB / 0.7237 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.541, allocations: 143.4 kB / 0.7239 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.541, allocations: 0 / 0.7239 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.284/0.825, allocations: 33.24 MB / 0.7563 GB, free: 151.4 MB / 0.5762 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)