Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 216.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.383/1.383, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1435/0.1435, allocations: 26.81 MB / 340.7 MB, free: 8.195 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.91 kB / 476.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 60.47 MB / 0.5248 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01665/0.3337, allocations: 15.8 MB / 0.5402 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3349, allocations: 0.7205 MB / 0.5409 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.335, allocations: 7.344 kB / 0.5409 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.3354, allocations: 115.1 kB / 0.541 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.336, allocations: 217.3 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006396/0.3424, allocations: 2.067 MB / 0.5432 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.3431, allocations: 462.9 kB / 0.5437 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3432, allocations: 48.33 kB / 0.5437 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.3438, allocations: 385.1 kB / 0.5441 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.3442, allocations: 247.9 kB / 0.5443 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.3442, allocations: 20.41 kB / 0.5444 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007118/0.3513, allocations: 3.66 MB / 0.5479 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.3517, allocations: 198 kB / 0.5481 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.352, allocations: 249.3 kB / 0.5484 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.3563, allocations: 2.36 MB / 0.5507 GB, free: 8.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3563, allocations: 0 / 0.5507 GB, free: 8.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.3563, allocations: 5.047 kB / 0.5507 GB, free: 8.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3563, allocations: 0 / 0.5507 GB, free: 8.359 MB / 398.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.002708/0.359, allocations: 1.022 MB / 0.5517 GB, free: 7.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.359, allocations: 9.406 kB / 0.5517 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.3592, allocations: 86.72 kB / 0.5518 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.3594, allocations: 74.11 kB / 0.5518 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000841/0.3602, allocations: 477.7 kB / 0.5523 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3602, allocations: 31.69 kB / 0.5523 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.3603, allocations: 34.78 kB / 0.5523 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3613, allocations: 0.6002 MB / 0.5529 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3614, allocations: 4 kB / 0.5529 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.3614, allocations: 16.69 kB / 0.553 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.3614, allocations: 32.05 kB / 0.553 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.3623, allocations: 451.6 kB / 0.5534 GB, free: 6.516 MB / 398.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.003067/0.3654, allocations: 3.116 MB / 0.5565 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.3661, allocations: 355 kB / 0.5568 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.3664, allocations: 163.5 kB / 0.5569 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/0.3965, allocations: 8.437 MB / 0.5652 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3965, allocations: 38.56 kB / 0.5652 GB, free: 11.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3965, allocations: 0 / 0.5652 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001483/0.398, allocations: 0.5483 MB / 0.5658 GB, free: 10.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3981, allocations: 59.34 kB / 0.5658 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.3986, allocations: 417.5 kB / 0.5662 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3986, allocations: 29.7 kB / 0.5662 GB, free: 10.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3988, allocations: 252.5 kB / 0.5665 GB, free: 9.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.3989, allocations: 111 kB / 0.5666 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.399, allocations: 57.66 kB / 0.5666 GB, free: 9.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3992, allocations: 354.8 kB / 0.567 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3994, allocations: 103.9 kB / 0.5671 GB, free: 9.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3996, allocations: 149.7 kB / 0.5672 GB, free: 8.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.4, allocations: 299.9 kB / 0.5675 GB, free: 8.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4, allocations: 0 / 0.5675 GB, free: 8.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005401/0.4006, allocations: 345.9 kB / 0.5678 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4006, allocations: 8.125 kB / 0.5678 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4006, allocations: 0 / 0.5678 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4006, allocations: 4 kB / 0.5679 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.4008, allocations: 51.91 kB / 0.5679 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4008, allocations: 0 / 0.5679 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.401, allocations: 31.73 kB / 0.5679 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.4011, allocations: 11.98 kB / 0.5679 GB, free: 8.215 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.0002842/0.4014, allocations: 233.6 kB / 0.5682 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.4014, allocations: 43.7 kB / 0.5682 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.4028, allocations: 1.159 MB / 0.5693 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.4028, allocations: 15.98 kB / 0.5694 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4028, allocations: 4 kB / 0.5694 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.4028, allocations: 3.984 kB / 0.5694 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.4038, allocations: 0.7135 MB / 0.5701 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4038, allocations: 0 / 0.5701 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4039, allocations: 35.92 kB / 0.5701 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4039, allocations: 3.938 kB / 0.5701 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4039, allocations: 4 kB / 0.5701 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4039, allocations: 4 kB / 0.5701 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4039, allocations: 7.984 kB / 0.5701 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.4048, allocations: 0.7205 MB / 0.5708 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.4049, allocations: 67.38 kB / 0.5709 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.4049, allocations: 4 kB / 0.5709 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4051, allocations: 11.98 kB / 0.5709 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4051, allocations: 11.97 kB / 0.5709 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.4051, allocations: 12 kB / 0.5709 GB, free: 5.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.4055, allocations: 303.1 kB / 0.5712 GB, free: 4.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4055, allocations: 0 / 0.5712 GB, free: 4.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001891/0.4074, allocations: 0.507 MB / 0.5717 GB, free: 4.281 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.002941/0.4103, allocations: 1.678 MB / 0.5733 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.4109, allocations: 387.2 kB / 0.5737 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4109, allocations: 0 / 0.5737 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.4113, allocations: 252.8 kB / 0.574 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4123, allocations: 201 kB / 0.5741 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006208/0.4185, allocations: 4.557 MB / 0.5786 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.4192, allocations: 0.9576 MB / 0.5795 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.4196, allocations: 183 kB / 0.5797 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.4199, allocations: 207.4 kB / 0.5799 GB, free: 11.73 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4199, allocations: 0 / 0.5799 GB, free: 11.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.479, allocations: 25.16 MB / 0.6045 GB, free: 2.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.41, allocations: 11.17 kB / 0.6045 GB, free: 2.738 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.977628013002686] Failed to read output from testmodel.py, exit status != 0: 12.525669966009445 12.551773015 12.190284107 Calling exit ...