Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 174.6 kB / 13.63 MB, free: 1.684 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.478/1.478, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009798/0.0009798, allocations: 86.77 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2594/0.2594, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.901e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 60.25 MB / 492.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.977/6.093, allocations: 2.786 GB / 3.267 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/6.093, allocations: 73.64 kB / 3.267 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1859/6.279, allocations: 82.18 MB / 3.348 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/6.279, allocations: 0 / 3.348 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.322e-05/6.279, allocations: 11.94 kB / 3.348 GB, free: 75.85 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003355/6.282, allocations: 1.228 MB / 3.349 GB, free: 74.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/6.283, allocations: 12.03 kB / 3.349 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/6.283, allocations: 94.09 kB / 3.349 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/6.284, allocations: 0.5812 MB / 3.35 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/6.284, allocations: 42.58 kB / 3.35 GB, free: 73.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/6.284, allocations: 46.48 kB / 3.35 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/6.285, allocations: 0.8298 MB / 3.35 GB, free: 73.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/6.285, allocations: 11.94 kB / 3.351 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/6.285, allocations: 19.12 kB / 3.351 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/6.285, allocations: 32.77 kB / 3.351 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/6.286, allocations: 0.6216 MB / 3.351 GB, free: 72.7 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002206/6.288, allocations: 4.044 MB / 3.355 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/6.289, allocations: 0.5657 MB / 3.356 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/6.289, allocations: 181.1 kB / 3.356 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/6.315, allocations: 15.22 MB / 3.371 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/6.315, allocations: 38.56 kB / 3.371 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.046e-06/6.315, allocations: 0 / 3.371 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001448/6.317, allocations: 0.6485 MB / 3.371 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/6.317, allocations: 67.33 kB / 3.371 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/6.317, allocations: 411 kB / 3.372 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/6.317, allocations: 29.7 kB / 3.372 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/6.317, allocations: 268.4 kB / 3.372 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/6.318, allocations: 141.9 kB / 3.372 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/6.318, allocations: 4 kB / 3.372 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/6.318, allocations: 358.8 kB / 3.373 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/6.318, allocations: 128.3 kB / 3.373 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/6.318, allocations: 197.4 kB / 3.373 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/6.318, allocations: 175.8 kB / 3.373 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.318, allocations: 0 / 3.373 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004817/6.319, allocations: 425 kB / 3.373 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/6.319, allocations: 8 kB / 3.373 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/6.319, allocations: 4 kB / 3.373 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/6.319, allocations: 4 kB / 3.373 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/6.319, allocations: 72.12 kB / 3.374 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/6.319, allocations: 7.938 kB / 3.374 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/6.319, allocations: 59.41 kB / 3.374 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/6.319, allocations: 16 kB / 3.374 GB, free: 47.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/6.319, allocations: 128.8 kB / 3.374 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/6.32, allocations: 51.39 kB / 3.374 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/6.321, allocations: 1.766 MB / 3.376 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/6.321, allocations: 23.95 kB / 3.376 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/6.321, allocations: 0 / 3.376 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.321, allocations: 3.984 kB / 3.376 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/6.322, allocations: 0.9889 MB / 3.377 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/6.322, allocations: 0 / 3.377 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/6.322, allocations: 55.91 kB / 3.377 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/6.322, allocations: 0 / 3.377 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/6.322, allocations: 15.89 kB / 3.377 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/6.322, allocations: 8 kB / 3.377 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/6.322, allocations: 0 / 3.377 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/6.323, allocations: 0.9714 MB / 3.378 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/6.323, allocations: 167.7 kB / 3.378 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/6.323, allocations: 8 kB / 3.378 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/6.323, allocations: 39.77 kB / 3.378 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/6.323, allocations: 27.89 kB / 3.378 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/6.323, allocations: 12 kB / 3.378 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002513/6.323, allocations: 329.2 kB / 3.378 GB, free: 42.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/6.323, allocations: 0 / 3.378 GB, free: 42.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002531/6.326, allocations: 0.5424 MB / 3.379 GB, free: 42.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/6.328, allocations: 0.5954 MB / 3.379 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000627/6.329, allocations: 0.5359 MB / 3.38 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/6.329, allocations: 3.938 kB / 3.38 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/6.329, allocations: 445.1 kB / 3.38 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/6.33, allocations: 282 kB / 3.38 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/6.332, allocations: 1.341 MB / 3.382 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/6.332, allocations: 1.065 MB / 3.383 GB, free: 37.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004456/6.333, allocations: 272.1 kB / 3.383 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/6.333, allocations: 39.44 kB / 3.383 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/6.333, allocations: 0 / 3.383 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.02368/6.356, allocations: 20.68 MB / 3.403 GB, free: 16.84 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)