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.001665/0.001665, 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.002/0.002, allocations: 217.3 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.1518/0.1518, allocations: 26.81 MB / 340.7 MB, free: 8.207 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.002127/0.002127, allocations: 71.89 kB / 476.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3253, allocations: 60.48 MB / 0.5248 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01896/0.3443, allocations: 15.8 MB / 0.5402 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3455, allocations: 0.7244 MB / 0.5409 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3456, allocations: 6.719 kB / 0.5409 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.3461, allocations: 119.4 kB / 0.541 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.3466, allocations: 213.2 kB / 0.5412 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006792/0.3534, allocations: 2.065 MB / 0.5433 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.3541, allocations: 462 kB / 0.5437 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3542, allocations: 47.3 kB / 0.5437 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.3548, allocations: 384.1 kB / 0.5441 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.3551, allocations: 249 kB / 0.5443 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.3552, allocations: 20.62 kB / 0.5444 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/0.3624, allocations: 3.652 MB / 0.5479 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.3627, allocations: 204.8 kB / 0.5481 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.363, allocations: 249.9 kB / 0.5484 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004707/0.3677, allocations: 2.36 MB / 0.5507 GB, free: 8.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3677, allocations: 0 / 0.5507 GB, free: 8.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3677, allocations: 0 / 0.5507 GB, free: 8.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.3678, allocations: 1.062 kB / 0.5507 GB, free: 8.344 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.003096/0.3709, allocations: 1.021 MB / 0.5517 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3709, allocations: 8.812 kB / 0.5517 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.371, allocations: 82.89 kB / 0.5518 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.3713, allocations: 75.23 kB / 0.5518 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.3721, allocations: 480.9 kB / 0.5523 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3722, allocations: 32.25 kB / 0.5523 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.3722, allocations: 35.28 kB / 0.5523 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3733, allocations: 0.5951 MB / 0.5529 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3733, allocations: 5.219 kB / 0.5529 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.3734, allocations: 16.16 kB / 0.5529 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.3734, allocations: 35.8 kB / 0.553 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.3743, allocations: 451.8 kB / 0.5534 GB, free: 6.5 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.003207/0.3775, allocations: 3.112 MB / 0.5565 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.3783, allocations: 355.7 kB / 0.5568 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.3785, allocations: 167.7 kB / 0.557 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03158/0.4101, allocations: 8.44 MB / 0.5652 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.4102, allocations: 42.5 kB / 0.5652 GB, free: 11.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.4102, allocations: 0 / 0.5652 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001568/0.4117, allocations: 0.5483 MB / 0.5658 GB, free: 10.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4118, allocations: 55.41 kB / 0.5658 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.4124, allocations: 417.5 kB / 0.5662 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4124, allocations: 29.7 kB / 0.5663 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.4126, allocations: 252.5 kB / 0.5665 GB, free: 9.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4127, allocations: 111 kB / 0.5666 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.4128, allocations: 57.66 kB / 0.5667 GB, free: 9.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.413, allocations: 350.8 kB / 0.567 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4132, allocations: 103.9 kB / 0.5671 GB, free: 9.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4134, allocations: 157.8 kB / 0.5672 GB, free: 8.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.4138, allocations: 288 kB / 0.5675 GB, free: 8.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4138, allocations: 3.938 kB / 0.5675 GB, free: 8.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005582/0.4144, allocations: 346 kB / 0.5678 GB, free: 8.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4144, allocations: 8.125 kB / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4144, allocations: 0 / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4144, allocations: 4 kB / 0.5679 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.4147, allocations: 51.91 kB / 0.5679 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4147, allocations: 0 / 0.5679 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4149, allocations: 31.73 kB / 0.5679 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.4149, allocations: 11.98 kB / 0.5679 GB, free: 8.207 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.0003212/0.4152, allocations: 233.6 kB / 0.5682 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.4153, allocations: 43.69 kB / 0.5682 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.4168, allocations: 1.163 MB / 0.5693 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.4168, allocations: 15.98 kB / 0.5694 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4168, allocations: 0 / 0.5694 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4168, allocations: 3.984 kB / 0.5694 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.4178, allocations: 0.7135 MB / 0.5701 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4178, allocations: 0 / 0.5701 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4179, allocations: 31.98 kB / 0.5701 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4179, allocations: 0 / 0.5701 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.418, allocations: 11.94 kB / 0.5701 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.418, allocations: 0 / 0.5701 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.418, allocations: 4 kB / 0.5701 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.4188, allocations: 0.7278 MB / 0.5708 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.419, allocations: 67.38 kB / 0.5709 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.419, allocations: 7.938 kB / 0.5709 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4192, allocations: 11.98 kB / 0.5709 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4192, allocations: 11.97 kB / 0.5709 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.4192, allocations: 12 kB / 0.5709 GB, free: 5.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003497/0.4196, allocations: 299.1 kB / 0.5712 GB, free: 4.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4196, allocations: 0 / 0.5712 GB, free: 4.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002152/0.4217, allocations: 0.507 MB / 0.5717 GB, free: 4.273 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.003447/0.4252, allocations: 1.687 MB / 0.5734 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006708/0.4258, allocations: 390.7 kB / 0.5737 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4258, allocations: 0 / 0.5737 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.4262, allocations: 253 kB / 0.574 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4273, allocations: 192.7 kB / 0.5742 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.4339, allocations: 4.549 MB / 0.5786 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.4346, allocations: 0.9615 MB / 0.5795 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.435, allocations: 183.1 kB / 0.5797 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4353, allocations: 203.4 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4353, allocations: 3.938 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.5025, allocations: 25.16 MB / 0.6045 GB, free: 2.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.14, allocations: 7.938 kB / 0.6045 GB, free: 2.73 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 & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_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: 16.021619785926305] Failed to read output from testmodel.py, exit status != 0: 13.265767992008477 13.296727123 12.923000777 Calling exit ...