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.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.001689/0.001689, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002066/0.002066, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 207.7 MB / 235.4 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2849/0.2849, allocations: 49.59 MB / 337.2 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.88 kB / 477.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1081, allocations: 62.41 MB / 0.5269 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2281/0.3362, allocations: 14.24 MB / 0.5408 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3373, allocations: 0.6497 MB / 0.5415 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3374, allocations: 10.5 kB / 0.5415 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.3379, allocations: 92.72 kB / 0.5416 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.3384, allocations: 217.8 kB / 0.5418 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.3441, allocations: 2.042 MB / 0.5438 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.3448, allocations: 455.2 kB / 0.5442 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.345, allocations: 62.42 kB / 0.5443 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007272/0.3458, allocations: 390.9 kB / 0.5446 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.3461, allocations: 241.5 kB / 0.5449 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.3462, allocations: 20.41 kB / 0.5449 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008333/0.3545, allocations: 3.618 MB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.3549, allocations: 204.5 kB / 0.5486 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.3553, allocations: 206.2 kB / 0.5488 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.3615, allocations: 2.351 MB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3615, allocations: 1.125 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3615, allocations: 0.6562 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3615, allocations: 0.5625 kB / 0.5511 GB, free: 11.46 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.003746/0.3652, allocations: 1.014 MB / 0.5521 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3653, allocations: 9.938 kB / 0.5521 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.041e-05/0.3653, allocations: 10.81 kB / 0.5521 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.268e-05/0.3654, allocations: 81 kB / 0.5522 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.3656, allocations: 79.17 kB / 0.5523 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.3664, allocations: 483.2 kB / 0.5527 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.3664, allocations: 25.59 kB / 0.5528 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.3665, allocations: 40.45 kB / 0.5528 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3678, allocations: 0.5986 MB / 0.5534 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3678, allocations: 1.188 kB / 0.5534 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.3678, allocations: 18.22 kB / 0.5534 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.961e-05/0.3679, allocations: 28.3 kB / 0.5534 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.369, allocations: 455.5 kB / 0.5539 GB, free: 10.47 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.002004/0.371, allocations: 1.797 MB / 0.5556 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.3718, allocations: 353.7 kB / 0.556 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.372, allocations: 163.4 kB / 0.5561 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02966/0.4017, allocations: 8.249 MB / 0.5642 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4017, allocations: 41.44 kB / 0.5642 GB, free: 6.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.725e-06/0.4017, allocations: 0 / 0.5642 GB, free: 6.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001509/0.4032, allocations: 0.5545 MB / 0.5648 GB, free: 6.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.4032, allocations: 55.34 kB / 0.5648 GB, free: 6.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.4038, allocations: 415.7 kB / 0.5652 GB, free: 6.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4038, allocations: 30.83 kB / 0.5652 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.404, allocations: 248.4 kB / 0.5655 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.4041, allocations: 115.1 kB / 0.5656 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.4041, allocations: 57.27 kB / 0.5656 GB, free: 5.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.4042, allocations: 352.5 kB / 0.566 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4044, allocations: 103.9 kB / 0.5661 GB, free: 5.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.4046, allocations: 150.3 kB / 0.5662 GB, free: 5.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.4049, allocations: 294 kB / 0.5665 GB, free: 5.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4049, allocations: 4.625 kB / 0.5665 GB, free: 5.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005206/0.4054, allocations: 351.2 kB / 0.5668 GB, free: 4.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4055, allocations: 10.52 kB / 0.5668 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4055, allocations: 1.156 kB / 0.5668 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4055, allocations: 2.219 kB / 0.5668 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.4057, allocations: 46.86 kB / 0.5669 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4057, allocations: 2.438 kB / 0.5669 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4059, allocations: 31.77 kB / 0.5669 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.4059, allocations: 12.28 kB / 0.5669 GB, free: 4.871 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.0002621/0.4062, allocations: 227.5 kB / 0.5671 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.4063, allocations: 46.16 kB / 0.5672 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.4074, allocations: 1.159 MB / 0.5683 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.4074, allocations: 15.58 kB / 0.5683 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4075, allocations: 1.156 kB / 0.5683 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4075, allocations: 7.984 kB / 0.5683 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.4083, allocations: 0.687 MB / 0.569 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4083, allocations: 0 / 0.569 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.4084, allocations: 39.98 kB / 0.5691 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4084, allocations: 1.156 kB / 0.5691 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.4085, allocations: 10.98 kB / 0.5691 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4085, allocations: 4.719 kB / 0.5691 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4085, allocations: 0 / 0.5691 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.4092, allocations: 0.7165 MB / 0.5698 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.4093, allocations: 68.73 kB / 0.5698 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.4093, allocations: 8.453 kB / 0.5698 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4095, allocations: 15.61 kB / 0.5699 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4095, allocations: 13.84 kB / 0.5699 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4095, allocations: 10.19 kB / 0.5699 GB, free: 3.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.4098, allocations: 295.8 kB / 0.5702 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4098, allocations: 0 / 0.5702 GB, free: 2.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002143/0.412, allocations: 0.5017 MB / 0.5707 GB, free: 2.773 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.003798/0.4158, allocations: 1.685 MB / 0.5723 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.4163, allocations: 388.6 kB / 0.5727 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4163, allocations: 1.438 kB / 0.5727 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.4166, allocations: 251.1 kB / 0.5729 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4176, allocations: 198.6 kB / 0.5731 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.4237, allocations: 4.538 MB / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.4241, allocations: 368.5 kB / 0.5779 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.4245, allocations: 185.1 kB / 0.5781 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4248, allocations: 200.3 kB / 0.5783 GB, free: 14.08 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4248, allocations: 0 / 0.5783 GB, free: 14.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05731/0.4821, allocations: 25.37 MB / 0.603 GB, free: 4.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.17, allocations: 19.97 kB / 0.6031 GB, free: 4.805 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.0450206680689] Failed to read output from testmodel.py, exit status != 0: 13.34760365402326 13.371856589 13.005842449 Calling exit ...