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.001317/0.001317, 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.001473/0.001473, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.401/1.401, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.2898/0.2898, allocations: 49.56 MB / 336.3 MB, free: 4.195 MB / 270.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",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.002387/0.002387, allocations: 71.89 kB / 476.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.113, allocations: 62.43 MB / 0.5262 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2373/0.3503, allocations: 15.68 MB / 0.5415 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.3512, allocations: 0.7184 MB / 0.5422 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3513, allocations: 6.688 kB / 0.5422 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.3517, allocations: 111.3 kB / 0.5423 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.3522, allocations: 211.2 kB / 0.5425 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.3572, allocations: 2.067 MB / 0.5445 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.3579, allocations: 454 kB / 0.5449 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.358, allocations: 60.81 kB / 0.545 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.3586, allocations: 387.1 kB / 0.5454 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.3591, allocations: 241.9 kB / 0.5456 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.3591, allocations: 20.34 kB / 0.5456 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007638/0.3668, allocations: 3.644 MB / 0.5492 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.3671, allocations: 201.2 kB / 0.5494 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.3675, allocations: 256.1 kB / 0.5496 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.375, allocations: 2.346 MB / 0.5519 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.375, allocations: 1.531 kB / 0.5519 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.375, allocations: 0 / 0.5519 GB, free: 11.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.375, allocations: 0 / 0.5519 GB, free: 11.22 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.004611/0.3797, allocations: 1.02 MB / 0.5529 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3797, allocations: 8.781 kB / 0.5529 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.269e-05/0.3798, allocations: 79.47 kB / 0.553 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.38, allocations: 75.89 kB / 0.5531 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.3809, allocations: 481.8 kB / 0.5535 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.3809, allocations: 29.67 kB / 0.5535 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.381, allocations: 37.27 kB / 0.5536 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3824, allocations: 0.5996 MB / 0.5542 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3825, allocations: 4.906 kB / 0.5542 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.3825, allocations: 15.78 kB / 0.5542 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.3826, allocations: 32.05 kB / 0.5542 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.3836, allocations: 452.3 kB / 0.5546 GB, free: 10.01 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.002724/0.3863, allocations: 3.113 MB / 0.5577 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.3871, allocations: 362.8 kB / 0.558 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.3873, allocations: 160.1 kB / 0.5582 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03038/0.4177, allocations: 8.227 MB / 0.5662 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.4177, allocations: 32.03 kB / 0.5663 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.586e-06/0.4177, allocations: 0.5625 kB / 0.5663 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001456/0.4192, allocations: 0.5482 MB / 0.5668 GB, free: 4.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4192, allocations: 53.75 kB / 0.5668 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.4197, allocations: 416 kB / 0.5672 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4197, allocations: 26.83 kB / 0.5673 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4199, allocations: 259.2 kB / 0.5675 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.4199, allocations: 110.6 kB / 0.5676 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.42, allocations: 57.47 kB / 0.5677 GB, free: 3.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.4201, allocations: 353.6 kB / 0.568 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4202, allocations: 112.3 kB / 0.5681 GB, free: 3.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.4204, allocations: 154.2 kB / 0.5683 GB, free: 2.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.4208, allocations: 292.1 kB / 0.5685 GB, free: 2.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4208, allocations: 0 / 0.5685 GB, free: 2.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004827/0.4213, allocations: 350.3 kB / 0.5689 GB, free: 2.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4213, allocations: 9.609 kB / 0.5689 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4213, allocations: 5.188 kB / 0.5689 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4213, allocations: 2.344 kB / 0.5689 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4215, allocations: 39.14 kB / 0.5689 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4215, allocations: 2.188 kB / 0.5689 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.4217, allocations: 34.27 kB / 0.569 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.4218, allocations: 20.28 kB / 0.569 GB, free: 2.594 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.0002452/0.422, allocations: 224.4 kB / 0.5692 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.4221, allocations: 47.16 kB / 0.5692 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4232, allocations: 1.154 MB / 0.5704 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.4232, allocations: 15.61 kB / 0.5704 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4232, allocations: 3.984 kB / 0.5704 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4232, allocations: 1.344 kB / 0.5704 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.4239, allocations: 0.7095 MB / 0.5711 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4239, allocations: 7.938 kB / 0.5711 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4241, allocations: 32.89 kB / 0.5711 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4241, allocations: 2.438 kB / 0.5711 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4241, allocations: 17.48 kB / 0.5711 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4241, allocations: 1.125 kB / 0.5711 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4241, allocations: 0 / 0.5711 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.4248, allocations: 0.719 MB / 0.5718 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.4249, allocations: 64.41 kB / 0.5719 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.4249, allocations: 13.17 kB / 0.5719 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.4251, allocations: 3.125 kB / 0.5719 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4251, allocations: 17.53 kB / 0.5719 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4251, allocations: 6.938 kB / 0.5719 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.4254, allocations: 299.8 kB / 0.5722 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4254, allocations: 0 / 0.5722 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002392/0.4278, allocations: 0.5015 MB / 0.5727 GB, free: 488 kB / 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.003381/0.4311, allocations: 1.683 MB / 0.5744 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.4318, allocations: 389 kB / 0.5747 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4318, allocations: 1.469 kB / 0.5747 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.4321, allocations: 247.9 kB / 0.575 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4332, allocations: 208.1 kB / 0.5752 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/0.4395, allocations: 4.536 MB / 0.5796 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.4401, allocations: 0.9668 MB / 0.5805 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000467/0.4406, allocations: 187.9 kB / 0.5807 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.4409, allocations: 203.4 kB / 0.5809 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4409, allocations: 3.938 kB / 0.5809 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.5015, allocations: 25.05 MB / 0.6054 GB, free: 1.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.36, allocations: 11.75 kB / 0.6054 GB, free: 1.906 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 15.220663613999932] Failed to read output from testmodel.py, exit status != 0: 12.478860268998687 12.49711005 12.118205383 Calling exit ...