Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009899/0.0009896, allocations: 89.19 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3509/0.3509, allocations: 48.83 MB / 366.7 MB, free: 46.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 55.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09895, allocations: 59.15 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.1836/0.2826, allocations: 16.33 MB / 0.5001 GB, free: 46.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2837, allocations: 0.7081 MB / 0.5008 GB, free: 46.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2839, allocations: 6.531 kB / 0.5008 GB, free: 46.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.2843, allocations: 101.5 kB / 0.5009 GB, free: 46.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.2848, allocations: 197.5 kB / 0.5011 GB, free: 46.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.289, allocations: 1.6 MB / 0.5026 GB, free: 46.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.2898, allocations: 0.7285 MB / 0.5034 GB, free: 46.92 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2899, allocations: 97.12 kB / 0.5034 GB, free: 46.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.2904, allocations: 356.1 kB / 0.5038 GB, free: 46.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.2907, allocations: 261.5 kB / 0.504 GB, free: 46.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.2908, allocations: 15.38 kB / 0.504 GB, free: 46.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.2969, allocations: 3.551 MB / 0.5075 GB, free: 46.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.2971, allocations: 193.7 kB / 0.5077 GB, free: 46.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2973, allocations: 244.4 kB / 0.5079 GB, free: 46.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.3002, allocations: 2.33 MB / 0.5102 GB, free: 46.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3002, allocations: 1.031 kB / 0.5102 GB, free: 46.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.3002, allocations: 1.969 kB / 0.5102 GB, free: 46.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3002, allocations: 0 / 0.5102 GB, free: 46.64 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002111/0.3023, allocations: 1.063 MB / 0.5113 GB, free: 46.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3024, allocations: 8.656 kB / 0.5113 GB, free: 46.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.3026, allocations: 78.61 kB / 0.5113 GB, free: 46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.3032, allocations: 491.5 kB / 0.5118 GB, free: 45.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3032, allocations: 30.25 kB / 0.5118 GB, free: 45.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.3032, allocations: 37.97 kB / 0.5119 GB, free: 45.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000915/0.3042, allocations: 0.6019 MB / 0.5125 GB, free: 45.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3042, allocations: 1.031 kB / 0.5125 GB, free: 45.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.3042, allocations: 13.59 kB / 0.5125 GB, free: 45.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.3043, allocations: 32.92 kB / 0.5125 GB, free: 45.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.3051, allocations: 455.1 kB / 0.5129 GB, free: 45.61 MB / 394.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.002128/0.3072, allocations: 3.166 MB / 0.516 GB, free: 42.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.3079, allocations: 388.1 kB / 0.5164 GB, free: 42.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.3081, allocations: 171.8 kB / 0.5166 GB, free: 42.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03035/0.3385, allocations: 15.31 MB / 0.5315 GB, free: 33.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3385, allocations: 45.53 kB / 0.5316 GB, free: 33.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.786e-06/0.3386, allocations: 0 / 0.5316 GB, free: 33.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001234/0.3398, allocations: 0.5427 MB / 0.5321 GB, free: 33.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.3398, allocations: 54.31 kB / 0.5321 GB, free: 33.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.3402, allocations: 420.4 kB / 0.5325 GB, free: 33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3403, allocations: 29.02 kB / 0.5326 GB, free: 32.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3404, allocations: 243 kB / 0.5328 GB, free: 32.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.3404, allocations: 103.4 kB / 0.5329 GB, free: 32.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.3405, allocations: 68.25 kB / 0.533 GB, free: 32.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.3406, allocations: 351 kB / 0.5333 GB, free: 32.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3407, allocations: 107.2 kB / 0.5334 GB, free: 32.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3409, allocations: 145.6 kB / 0.5335 GB, free: 32.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3412, allocations: 285.7 kB / 0.5338 GB, free: 32.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3412, allocations: 0 / 0.5338 GB, free: 32.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00044/0.3417, allocations: 357.3 kB / 0.5342 GB, free: 31.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3417, allocations: 10.66 kB / 0.5342 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3417, allocations: 1.531 kB / 0.5342 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3418, allocations: 2.375 kB / 0.5342 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.342, allocations: 47.42 kB / 0.5342 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.342, allocations: 2.531 kB / 0.5342 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3422, allocations: 36.22 kB / 0.5342 GB, free: 31.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.3423, allocations: 14 kB / 0.5343 GB, free: 31.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * 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.0002124/0.3425, allocations: 230 kB / 0.5345 GB, free: 31.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.3425, allocations: 42.97 kB / 0.5345 GB, free: 31.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3436, allocations: 1.116 MB / 0.5356 GB, free: 31.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.3436, allocations: 17.38 kB / 0.5356 GB, free: 31.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3437, allocations: 3.703 kB / 0.5356 GB, free: 31.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3437, allocations: 0 / 0.5356 GB, free: 31.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.3444, allocations: 0.7237 MB / 0.5363 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3444, allocations: 0 / 0.5363 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3445, allocations: 39.53 kB / 0.5364 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3445, allocations: 5.281 kB / 0.5364 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3446, allocations: 12.66 kB / 0.5364 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3446, allocations: 1.344 kB / 0.5364 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3446, allocations: 0 / 0.5364 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3458, allocations: 1.641 MB / 0.538 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.3458, allocations: 138.7 kB / 0.5381 GB, free: 29.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3459, allocations: 12.31 kB / 0.5381 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3461, allocations: 24.52 kB / 0.5382 GB, free: 29.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3461, allocations: 13.7 kB / 0.5382 GB, free: 29.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3462, allocations: 13.44 kB / 0.5382 GB, free: 29.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3464, allocations: 295.5 kB / 0.5385 GB, free: 29.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 3.562 kB / 0.5385 GB, free: 29.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001629/0.348, allocations: 0.5024 MB / 0.539 GB, free: 29.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/0.3497, allocations: 0.5071 MB / 0.5395 GB, free: 29.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.3502, allocations: 389.7 kB / 0.5398 GB, free: 28.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3502, allocations: 3.938 kB / 0.5398 GB, free: 28.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.3505, allocations: 312 kB / 0.5401 GB, free: 28.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3515, allocations: 187.5 kB / 0.5403 GB, free: 28.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3534, allocations: 1.981 MB / 0.5422 GB, free: 27.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.3538, allocations: 0.9752 MB / 0.5432 GB, free: 26.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.3542, allocations: 177.3 kB / 0.5434 GB, free: 26.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.3543, allocations: 44.55 kB / 0.5434 GB, free: 26.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3543, allocations: 0 / 0.5434 GB, free: 26.45 MB / 394.7 MB Notification: Performance of Templates: time 0.02112/0.3754, allocations: 18.05 MB / 0.561 GB, free: 14.69 MB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)