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.001475/0.001475, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008401/0.0008402, allocations: 89.45 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4692/0.4692, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.01e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 60.26 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.425/5.549, allocations: 2.785 GB / 3.26 GB, free: 85.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/5.55, allocations: 80.27 kB / 3.26 GB, free: 85.53 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.1884/5.738, allocations: 81.18 MB / 3.339 GB, free: 5.938 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.154e-06/5.738, allocations: 0 / 3.339 GB, free: 5.938 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.813e-05/5.738, allocations: 15.94 kB / 3.339 GB, free: 5.922 MB / 0.5108 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.004041/5.742, allocations: 1.226 MB / 3.34 GB, free: 4.652 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/5.742, allocations: 8.031 kB / 3.34 GB, free: 4.645 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/5.743, allocations: 96.5 kB / 3.34 GB, free: 4.551 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/5.743, allocations: 0.5899 MB / 3.341 GB, free: 3.922 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/5.744, allocations: 15.95 kB / 3.341 GB, free: 3.906 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/5.744, allocations: 28 kB / 3.341 GB, free: 3.879 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006048/5.744, allocations: 470.4 kB / 3.341 GB, free: 3.422 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/5.745, allocations: 0.6404 MB / 3.342 GB, free: 2.723 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/5.745, allocations: 3.938 kB / 3.342 GB, free: 2.719 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/5.745, allocations: 0 / 3.342 GB, free: 2.719 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/5.745, allocations: 44.77 kB / 3.342 GB, free: 2.676 MB / 0.5108 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.2353/5.98, allocations: 3.904 MB / 3.346 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/5.981, allocations: 424.5 kB / 3.346 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/5.981, allocations: 175.6 kB / 3.346 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03025/6.012, allocations: 15.22 MB / 3.361 GB, free: 91.91 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/6.012, allocations: 35.06 kB / 3.361 GB, free: 91.87 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=40): time 3.075e-06/6.012, allocations: 3.812 kB / 3.361 GB, free: 91.87 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40): time 0.001253/6.013, allocations: 0.5145 MB / 3.362 GB, free: 91.83 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/6.013, allocations: 57.56 kB / 3.362 GB, free: 91.77 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/6.013, allocations: 301.6 kB / 3.362 GB, free: 91.67 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/6.013, allocations: 28.3 kB / 3.362 GB, free: 91.64 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/6.014, allocations: 279.3 kB / 3.362 GB, free: 91.5 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/6.014, allocations: 133.9 kB / 3.363 GB, free: 91.44 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/6.014, allocations: 0 / 3.363 GB, free: 91.44 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/6.014, allocations: 353.4 kB / 3.363 GB, free: 91.12 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/6.014, allocations: 122.5 kB / 3.363 GB, free: 91.12 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/6.014, allocations: 185.7 kB / 3.363 GB, free: 91.06 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/6.014, allocations: 175.3 kB / 3.363 GB, free: 91.05 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/6.014, allocations: 0 / 3.363 GB, free: 91.05 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006353/6.015, allocations: 402.7 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/6.015, allocations: 8.188 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/6.015, allocations: 7.281 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/6.015, allocations: 3.469 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/6.015, allocations: 70.58 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/6.015, allocations: 3.375 kB / 3.364 GB, free: 91 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/6.016, allocations: 43.44 kB / 3.364 GB, free: 90.98 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/6.016, allocations: 16.47 kB / 3.364 GB, free: 90.98 MB / 0.5108 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.687e-05/6.016, allocations: 117.9 kB / 3.364 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/6.016, allocations: 37.91 kB / 3.364 GB, free: 90.86 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/6.017, allocations: 1.737 MB / 3.366 GB, free: 90.67 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/6.017, allocations: 30.27 kB / 3.366 GB, free: 90.67 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/6.017, allocations: 0 / 3.366 GB, free: 90.67 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/6.017, allocations: 3.188 kB / 3.366 GB, free: 90.67 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/6.018, allocations: 0.878 MB / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/6.018, allocations: 3.281 kB / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/6.018, allocations: 53.44 kB / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/6.019, allocations: 1.203 kB / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/6.019, allocations: 4.125 kB / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/6.019, allocations: 0 / 3.367 GB, free: 90.49 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/6.019, allocations: 7.047 kB / 3.367 GB, free: 90.48 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/6.019, allocations: 0.9404 MB / 3.368 GB, free: 90.27 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/6.02, allocations: 162.8 kB / 3.368 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/6.02, allocations: 6.625 kB / 3.368 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/6.02, allocations: 26.67 kB / 3.368 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/6.02, allocations: 19.72 kB / 3.368 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/6.02, allocations: 21.23 kB / 3.368 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000196/6.02, allocations: 237 kB / 3.368 GB, free: 90.05 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.51e-07/6.02, allocations: 3.281 kB / 3.368 GB, free: 90.05 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002188/6.022, allocations: 0.5449 MB / 3.369 GB, free: 90.04 MB / 0.5108 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.001801/6.024, allocations: 0.6111 MB / 3.369 GB, free: 89.95 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0005634/6.025, allocations: 0.5186 MB / 3.37 GB, free: 89.94 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/6.025, allocations: 0 / 3.37 GB, free: 89.94 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/6.025, allocations: 453 kB / 3.37 GB, free: 89.94 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/6.026, allocations: 153.9 kB / 3.37 GB, free: 89.94 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/6.027, allocations: 1.284 MB / 3.372 GB, free: 89.65 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/6.028, allocations: 1.063 MB / 3.373 GB, free: 88.95 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004122/6.028, allocations: 261 kB / 3.373 GB, free: 88.95 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/6.028, allocations: 39.53 kB / 3.373 GB, free: 88.94 MB / 0.5108 GB Notification: Performance of SimCode: time 4.41e-07/6.028, allocations: 0 / 3.373 GB, free: 88.94 MB / 0.5108 GB Notification: Performance of Templates: time 0.02382/6.052, allocations: 16.14 MB / 3.389 GB, free: 88.36 MB / 0.5108 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)