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.001054/0.001054, allocations: 113.9 kB / 17.06 MB, free: 5.977 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.001024/0.001024, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.261/1.261, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.255/0.255, allocations: 48.84 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.001411/0.001411, allocations: 71.89 kB / 450.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09908, allocations: 59.15 MB / 0.4978 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01712/0.1162, allocations: 15.54 MB / 0.5129 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.1172, allocations: 0.7088 MB / 0.5136 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1173, allocations: 8 kB / 0.5136 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1177, allocations: 107.4 kB / 0.5137 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.1182, allocations: 203.1 kB / 0.5139 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004661/0.1228, allocations: 2.056 MB / 0.5159 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.1234, allocations: 457.6 kB / 0.5164 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1236, allocations: 105 kB / 0.5165 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.1241, allocations: 363.1 kB / 0.5168 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1244, allocations: 227.2 kB / 0.517 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1244, allocations: 20 kB / 0.5171 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.1301, allocations: 3.632 MB / 0.5206 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1303, allocations: 195.4 kB / 0.5208 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.1306, allocations: 254.6 kB / 0.521 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.1333, allocations: 2.342 MB / 0.5233 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1334, allocations: 0 / 0.5233 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1334, allocations: 0 / 0.5233 GB, free: 2.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1334, allocations: 0 / 0.5233 GB, free: 2.953 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.002228/0.1356, allocations: 1.076 MB / 0.5244 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1357, allocations: 8.031 kB / 0.5244 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1359, allocations: 76.27 kB / 0.5245 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.1367, allocations: 0.5147 MB / 0.525 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1367, allocations: 25 kB / 0.525 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.1368, allocations: 35.98 kB / 0.525 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1378, allocations: 0.6053 MB / 0.5256 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1378, allocations: 0 / 0.5256 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.1379, allocations: 16 kB / 0.5256 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.1379, allocations: 32.58 kB / 0.5257 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1897/0.3276, allocations: 458.2 kB / 0.5261 GB, free: 31.29 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.002337/0.33, allocations: 3.148 MB / 0.5292 GB, free: 28.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.3307, allocations: 379.6 kB / 0.5295 GB, free: 28.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.331, allocations: 174.7 kB / 0.5297 GB, free: 28.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03129/0.3623, allocations: 15.38 MB / 0.5447 GB, free: 19.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3623, allocations: 34.91 kB / 0.5448 GB, free: 19.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.995e-06/0.3624, allocations: 0 / 0.5448 GB, free: 19.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00139/0.3638, allocations: 0.5405 MB / 0.5453 GB, free: 19.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.3638, allocations: 62.34 kB / 0.5453 GB, free: 19.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.3642, allocations: 418.2 kB / 0.5457 GB, free: 18.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3643, allocations: 29.52 kB / 0.5458 GB, free: 18.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3644, allocations: 239.2 kB / 0.546 GB, free: 18.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.3645, allocations: 104.3 kB / 0.5461 GB, free: 18.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.3646, allocations: 57.81 kB / 0.5461 GB, free: 18.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.3647, allocations: 353.2 kB / 0.5465 GB, free: 18.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3649, allocations: 102.9 kB / 0.5466 GB, free: 18.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3651, allocations: 158.4 kB / 0.5467 GB, free: 18.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.3655, allocations: 294.2 kB / 0.547 GB, free: 18.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3655, allocations: 1.281 kB / 0.547 GB, free: 18.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005169/0.366, allocations: 349.7 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.366, allocations: 6.562 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.366, allocations: 1.25 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3661, allocations: 2.219 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3663, allocations: 44.27 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3663, allocations: 2.859 kB / 0.5474 GB, free: 18.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.3665, allocations: 34.25 kB / 0.5474 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.3665, allocations: 11.8 kB / 0.5474 GB, free: 18.16 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.0002328/0.3668, allocations: 229.7 kB / 0.5477 GB, free: 18.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.3668, allocations: 39.23 kB / 0.5477 GB, free: 18.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.368, allocations: 1.123 MB / 0.5488 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.368, allocations: 17.28 kB / 0.5488 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.368, allocations: 1.094 kB / 0.5488 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.368, allocations: 5.391 kB / 0.5488 GB, free: 17.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.3688, allocations: 0.7213 MB / 0.5495 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3688, allocations: 0.5 kB / 0.5495 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.369, allocations: 44.73 kB / 0.5496 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.369, allocations: 3.312 kB / 0.5496 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3691, allocations: 3.922 kB / 0.5496 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3691, allocations: 1.125 kB / 0.5496 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3691, allocations: 3.812 kB / 0.5496 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.37, allocations: 0.7093 MB / 0.5503 GB, free: 16.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3701, allocations: 134.9 kB / 0.5504 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.3701, allocations: 10.3 kB / 0.5504 GB, free: 16.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3703, allocations: 11.47 kB / 0.5504 GB, free: 16.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3703, allocations: 17.39 kB / 0.5504 GB, free: 16.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3704, allocations: 11.03 kB / 0.5505 GB, free: 16.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.3707, allocations: 295.8 kB / 0.5507 GB, free: 16.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3707, allocations: 0 / 0.5507 GB, free: 16.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001185/0.3719, allocations: 0.4982 MB / 0.5512 GB, free: 16.42 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.00173/0.3736, allocations: 0.5015 MB / 0.5517 GB, free: 16.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.3742, allocations: 397.6 kB / 0.5521 GB, free: 16.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3742, allocations: 0 / 0.5521 GB, free: 16.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.3745, allocations: 309.4 kB / 0.5524 GB, free: 16.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3756, allocations: 198.9 kB / 0.5526 GB, free: 16.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3772, allocations: 1.265 MB / 0.5538 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3777, allocations: 0.9587 MB / 0.5547 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003603/0.378, allocations: 182.9 kB / 0.5549 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3781, allocations: 32.84 kB / 0.555 GB, free: 14.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3781, allocations: 0 / 0.555 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Templates: time 0.0234/0.4015, allocations: 18.3 MB / 0.5728 GB, free: 3.012 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)