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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108.9 kB / 17.06 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 194.8 kB / 18 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2529/0.2529, allocations: 48.83 MB / 320.1 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.88 kB / 450.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09081, allocations: 59.16 MB / 0.4978 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01618/0.107, allocations: 15.53 MB / 0.5129 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.1079, allocations: 0.7088 MB / 0.5136 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.108, allocations: 7.938 kB / 0.5136 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.1084, allocations: 107.4 kB / 0.5137 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1089, allocations: 199.1 kB / 0.5139 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.1135, allocations: 2.068 MB / 0.516 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.114, allocations: 441.7 kB / 0.5164 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1142, allocations: 117 kB / 0.5165 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.1146, allocations: 363.1 kB / 0.5168 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1149, allocations: 231.2 kB / 0.5171 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1149, allocations: 20 kB / 0.5171 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005361/0.1203, allocations: 3.636 MB / 0.5206 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1205, allocations: 199.5 kB / 0.5208 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.1207, allocations: 250.6 kB / 0.5211 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.1234, allocations: 2.346 MB / 0.5233 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1234, allocations: 3.938 kB / 0.5234 GB, free: 2.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1234, allocations: 0 / 0.5234 GB, free: 2.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1235, allocations: 0 / 0.5234 GB, free: 2.93 MB / 414.1 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.002176/0.1256, allocations: 1.068 MB / 0.5244 GB, free: 1.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1257, allocations: 16.02 kB / 0.5244 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.1259, allocations: 68.27 kB / 0.5245 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.1266, allocations: 0.5108 MB / 0.525 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1266, allocations: 33 kB / 0.525 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1267, allocations: 32 kB / 0.525 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1277, allocations: 0.6052 MB / 0.5256 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1277, allocations: 8 kB / 0.5256 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1277, allocations: 16 kB / 0.5256 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.1278, allocations: 24.64 kB / 0.5257 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1837/0.3114, allocations: 452.2 kB / 0.5261 GB, free: 31.48 MB / 414.1 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.002052/0.3135, allocations: 3.149 MB / 0.5292 GB, free: 28.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.3143, allocations: 377.1 kB / 0.5295 GB, free: 28.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3145, allocations: 179.1 kB / 0.5297 GB, free: 28.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02977/0.3443, allocations: 15.37 MB / 0.5447 GB, free: 19.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3444, allocations: 38.44 kB / 0.5448 GB, free: 19.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.515e-06/0.3444, allocations: 4 kB / 0.5448 GB, free: 19.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001389/0.3458, allocations: 0.5419 MB / 0.5453 GB, free: 19.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.3458, allocations: 55 kB / 0.5453 GB, free: 19.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.3462, allocations: 420 kB / 0.5457 GB, free: 19.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3462, allocations: 30.39 kB / 0.5458 GB, free: 19.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3464, allocations: 239.9 kB / 0.546 GB, free: 18.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.3464, allocations: 109.8 kB / 0.5461 GB, free: 18.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.3465, allocations: 54.33 kB / 0.5462 GB, free: 18.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.3466, allocations: 358.7 kB / 0.5465 GB, free: 18.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3468, allocations: 104.7 kB / 0.5466 GB, free: 18.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.347, allocations: 157.8 kB / 0.5467 GB, free: 18.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3474, allocations: 293.5 kB / 0.547 GB, free: 18.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3474, allocations: 0 / 0.547 GB, free: 18.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005119/0.3479, allocations: 345.7 kB / 0.5474 GB, free: 18.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3479, allocations: 4.75 kB / 0.5474 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3479, allocations: 1.875 kB / 0.5474 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.348, allocations: 2.344 kB / 0.5474 GB, free: 18.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3482, allocations: 46.5 kB / 0.5474 GB, free: 18.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3482, allocations: 3.047 kB / 0.5474 GB, free: 18.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3484, allocations: 36.34 kB / 0.5474 GB, free: 18.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3484, allocations: 7.844 kB / 0.5475 GB, free: 18.36 MB / 414.1 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.0002277/0.3487, allocations: 231.4 kB / 0.5477 GB, free: 18.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3487, allocations: 43.02 kB / 0.5477 GB, free: 18.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.3499, allocations: 1.117 MB / 0.5488 GB, free: 17.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.3499, allocations: 17.47 kB / 0.5488 GB, free: 17.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3499, allocations: 1.438 kB / 0.5488 GB, free: 17.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3499, allocations: 5.344 kB / 0.5488 GB, free: 17.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.3507, allocations: 0.7269 MB / 0.5495 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3507, allocations: 0.5 kB / 0.5495 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.3509, allocations: 37 kB / 0.5496 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3509, allocations: 1.656 kB / 0.5496 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3509, allocations: 6.766 kB / 0.5496 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3509, allocations: 1.25 kB / 0.5496 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3509, allocations: 1.156 kB / 0.5496 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.3518, allocations: 0.7079 MB / 0.5503 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.3518, allocations: 142.4 kB / 0.5504 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3519, allocations: 6.188 kB / 0.5504 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3521, allocations: 9.797 kB / 0.5504 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.3521, allocations: 17.39 kB / 0.5504 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3521, allocations: 10.98 kB / 0.5505 GB, free: 16.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3525, allocations: 295.1 kB / 0.5507 GB, free: 16.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 2.75 kB / 0.5507 GB, free: 16.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001221/0.3537, allocations: 0.4938 MB / 0.5512 GB, free: 16.52 MB / 414.1 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.001627/0.3553, allocations: 0.5043 MB / 0.5517 GB, free: 16.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005315/0.3559, allocations: 399.3 kB / 0.5521 GB, free: 16.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3559, allocations: 1.844 kB / 0.5521 GB, free: 16.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.3562, allocations: 307.9 kB / 0.5524 GB, free: 16.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3572, allocations: 199.4 kB / 0.5526 GB, free: 16.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3588, allocations: 1.259 MB / 0.5538 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3592, allocations: 0.9566 MB / 0.5547 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.3595, allocations: 181 kB / 0.5549 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.3596, allocations: 37.73 kB / 0.555 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3596, allocations: 0 / 0.555 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Templates: time 0.02067/0.3803, allocations: 18.21 MB / 0.5727 GB, free: 3.215 MB / 414.1 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)