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.0008471/0.0008472, allocations: 171.8 kB / 17.4 MB, free: 4.395 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.266/1.266, allocations: 205.4 MB / 223.5 MB, free: 8.922 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.0007278/0.0007276, allocations: 92.91 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.348/0.348, allocations: 48.78 MB / 369 MB, free: 47.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 12 kB / 439.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09527, allocations: 60.25 MB / 0.4884 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.593/4.688, allocations: 2.787 GB / 3.275 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/4.689, allocations: 73.94 kB / 3.275 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3716/5.06, allocations: 82.35 MB / 3.355 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/5.06, allocations: 0 / 3.355 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.257e-05/5.06, allocations: 12.78 kB / 3.355 GB, free: 116.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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003485/5.064, allocations: 1.279 MB / 3.357 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/5.064, allocations: 8.312 kB / 3.357 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/5.064, allocations: 92.75 kB / 3.357 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/5.065, allocations: 0.6013 MB / 3.357 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/5.065, allocations: 34.03 kB / 3.357 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/5.065, allocations: 44.81 kB / 3.357 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/5.066, allocations: 0.8164 MB / 3.358 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/5.066, allocations: 3.688 kB / 3.358 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/5.066, allocations: 30.22 kB / 3.358 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/5.066, allocations: 38.72 kB / 3.358 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/5.067, allocations: 0.5981 MB / 3.359 GB, free: 115.4 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.00218/5.07, allocations: 4.036 MB / 3.363 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/5.07, allocations: 0.5419 MB / 3.363 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/5.071, allocations: 190.4 kB / 3.364 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/5.095, allocations: 15.18 MB / 3.378 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/5.095, allocations: 34.41 kB / 3.378 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/5.095, allocations: 0 / 3.378 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.00168/5.096, allocations: 0.7457 MB / 3.379 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/5.096, allocations: 55.34 kB / 3.379 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/5.097, allocations: 468.3 kB / 3.38 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/5.097, allocations: 36.98 kB / 3.38 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/5.097, allocations: 274.9 kB / 3.38 GB, free: 102 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/5.097, allocations: 131.5 kB / 3.38 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/5.097, allocations: 11.03 kB / 3.38 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/5.097, allocations: 357.1 kB / 3.38 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/5.097, allocations: 127.9 kB / 3.381 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/5.098, allocations: 206 kB / 3.381 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/5.098, allocations: 367.2 kB / 3.381 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/5.098, allocations: 0 / 3.381 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005121/5.098, allocations: 435 kB / 3.381 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/5.099, allocations: 7.344 kB / 3.381 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/5.099, allocations: 3.875 kB / 3.381 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/5.099, allocations: 8.938 kB / 3.382 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/5.099, allocations: 71.7 kB / 3.382 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/5.099, allocations: 7.625 kB / 3.382 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/5.099, allocations: 51.39 kB / 3.382 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/5.099, allocations: 17.88 kB / 3.382 GB, free: 101.3 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 () * Number of clocked 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 0.0002615/5.099, allocations: 267.2 kB / 3.382 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/5.1, allocations: 50.81 kB / 3.382 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/5.101, allocations: 1.759 MB / 3.384 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/5.101, allocations: 33.3 kB / 3.384 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.101, allocations: 0 / 3.384 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/5.101, allocations: 3.938 kB / 3.384 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000811/5.102, allocations: 0.9952 MB / 3.385 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/5.102, allocations: 0 / 3.385 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/5.102, allocations: 49.05 kB / 3.385 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/5.102, allocations: 2.562 kB / 3.385 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/5.102, allocations: 11.69 kB / 3.385 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/5.102, allocations: 7.938 kB / 3.385 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/5.102, allocations: 0 / 3.385 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/5.103, allocations: 0.9717 MB / 3.386 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/5.103, allocations: 173.8 kB / 3.386 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/5.103, allocations: 7.688 kB / 3.386 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/5.103, allocations: 40.38 kB / 3.386 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/5.103, allocations: 22.94 kB / 3.386 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/5.103, allocations: 16.02 kB / 3.386 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002853/5.104, allocations: 329.8 kB / 3.386 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/5.104, allocations: 1.594 kB / 3.386 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002302/5.106, allocations: 0.5456 MB / 3.387 GB, free: 100.2 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 () * Number of clocked 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.001715/5.108, allocations: 0.5981 MB / 3.387 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005685/5.108, allocations: 0.5375 MB / 3.388 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/5.108, allocations: 0 / 3.388 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/5.109, allocations: 455.4 kB / 3.388 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/5.11, allocations: 279 kB / 3.389 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/5.112, allocations: 2.024 MB / 3.391 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/5.112, allocations: 1.052 MB / 3.392 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004664/5.113, allocations: 278 kB / 3.392 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/5.113, allocations: 42.12 kB / 3.392 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/5.113, allocations: 0 / 3.392 GB, free: 98.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.02556/5.138, allocations: 21.33 MB / 3.413 GB, free: 94.88 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)