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.001593/0.001593, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.298/1.298, allocations: 205.4 MB / 223.5 MB, free: 8.938 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.0007647/0.0007647, allocations: 84.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3909/0.3909, allocations: 48.78 MB / 369 MB, free: 47.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004521, allocations: 15.98 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.467/4.571, allocations: 2.787 GB / 3.275 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/4.571, allocations: 80.67 kB / 3.275 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3732/4.945, allocations: 80.06 MB / 3.353 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/4.945, allocations: 0 / 3.353 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.472e-05/4.945, allocations: 8.812 kB / 3.353 GB, free: 115.6 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004295/4.949, allocations: 1.165 MB / 3.354 GB, free: 115 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/4.949, allocations: 9.312 kB / 3.354 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/4.949, allocations: 75.89 kB / 3.354 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/4.95, allocations: 0.5641 MB / 3.355 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/4.951, allocations: 30.72 kB / 3.355 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/4.951, allocations: 35.53 kB / 3.355 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/4.952, allocations: 0.6011 MB / 3.356 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/4.952, allocations: 4.469 kB / 3.356 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/4.952, allocations: 18.31 kB / 3.356 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/4.952, allocations: 26.17 kB / 3.356 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/4.953, allocations: 451.7 kB / 3.356 GB, free: 114.6 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 preOpt removeSimpleEquations (simulation): time 0.001933/4.955, allocations: 2.692 MB / 3.359 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/4.955, allocations: 380.8 kB / 3.359 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/4.956, allocations: 175.2 kB / 3.359 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/4.981, allocations: 15.16 MB / 3.374 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/4.982, allocations: 38.5 kB / 3.374 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.055e-06/4.982, allocations: 0 / 3.374 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.001266/4.983, allocations: 0.5444 MB / 3.375 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/4.983, allocations: 55.09 kB / 3.375 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/4.983, allocations: 416.1 kB / 3.375 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/4.983, allocations: 29.08 kB / 3.375 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/4.983, allocations: 243.4 kB / 3.375 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/4.983, allocations: 108 kB / 3.375 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/4.984, allocations: 3.25 kB / 3.375 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/4.984, allocations: 354.9 kB / 3.376 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/4.984, allocations: 105.8 kB / 3.376 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/4.984, allocations: 142.5 kB / 3.376 GB, free: 102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/4.984, allocations: 290 kB / 3.376 GB, free: 102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/4.984, allocations: 0 / 3.376 GB, free: 102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00046/4.985, allocations: 342 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/4.985, allocations: 7.812 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/4.985, allocations: 1.125 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/4.985, allocations: 6.938 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/4.985, allocations: 48.91 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/4.985, allocations: 10.12 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/4.985, allocations: 41.25 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/4.985, allocations: 8.875 kB / 3.377 GB, free: 101.9 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/4.985, allocations: 227.4 kB / 3.377 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/4.986, allocations: 38.94 kB / 3.377 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/4.987, allocations: 1.117 MB / 3.378 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/4.987, allocations: 18.11 kB / 3.378 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/4.987, allocations: 3.938 kB / 3.378 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/4.987, allocations: 4.875 kB / 3.378 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/4.987, allocations: 0.7211 MB / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/4.987, allocations: 1.688 kB / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/4.988, allocations: 36.03 kB / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/4.988, allocations: 0 / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/4.988, allocations: 7.062 kB / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/4.988, allocations: 0 / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/4.988, allocations: 7.938 kB / 3.379 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/4.988, allocations: 0.6946 MB / 3.38 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/4.988, allocations: 132 kB / 3.38 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/4.988, allocations: 7.5 kB / 3.38 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/4.989, allocations: 26.69 kB / 3.38 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/4.989, allocations: 26.47 kB / 3.38 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/4.989, allocations: 11.62 kB / 3.38 GB, free: 101 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002435/4.989, allocations: 297.3 kB / 3.38 GB, free: 101 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/4.989, allocations: 1.031 kB / 3.38 GB, free: 101 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002353/4.991, allocations: 0.511 MB / 3.381 GB, free: 100.9 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: 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 (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.003435/4.995, allocations: 0.5842 MB / 3.381 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004778/4.995, allocations: 391.2 kB / 3.381 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/4.995, allocations: 4.062 kB / 3.381 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/4.996, allocations: 306 kB / 3.382 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/4.997, allocations: 191.1 kB / 3.382 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/4.998, allocations: 1.506 MB / 3.383 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/4.999, allocations: 0.96 MB / 3.384 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003708/4.999, allocations: 183.4 kB / 3.385 GB, free: 99.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/4.999, allocations: 38.69 kB / 3.385 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/4.999, allocations: 0 / 3.385 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.02635/5.026, allocations: 18.8 MB / 3.403 GB, free: 98.27 MB / 0.5105 GB 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)