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.002052/0.002052, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001992/0.001992, allocations: 210.2 kB / 23.73 MB, free: 4.387 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.558/1.558, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.3385/0.3385, allocations: 49.6 MB / 336.4 MB, free: 3.883 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.002383/0.002383, allocations: 75.89 kB / 476.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1446, allocations: 62.42 MB / 0.5262 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2873/0.4319, allocations: 14.25 MB / 0.5401 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.4337, allocations: 0.6505 MB / 0.5407 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.4339, allocations: 5.406 kB / 0.5407 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.4345, allocations: 98.25 kB / 0.5408 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008783/0.4354, allocations: 211.3 kB / 0.541 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009812/0.4452, allocations: 2.04 MB / 0.543 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.4463, allocations: 454.2 kB / 0.5435 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.4466, allocations: 60.02 kB / 0.5435 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.4476, allocations: 388 kB / 0.5439 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.4481, allocations: 233 kB / 0.5441 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.4482, allocations: 20.34 kB / 0.5441 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.4617, allocations: 3.51 MB / 0.5476 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006189/0.4623, allocations: 201.7 kB / 0.5477 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.4628, allocations: 204.7 kB / 0.5479 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4736, allocations: 2.352 MB / 0.5502 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.4736, allocations: 0 / 0.5502 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.4736, allocations: 5.25 kB / 0.5502 GB, free: 11.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4736, allocations: 0 / 0.5502 GB, free: 11.42 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.006272/0.4799, allocations: 1.01 MB / 0.5512 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.48, allocations: 9.969 kB / 0.5512 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.4802, allocations: 85.34 kB / 0.5513 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.4807, allocations: 80.41 kB / 0.5514 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4825, allocations: 473.7 kB / 0.5518 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.4826, allocations: 28.48 kB / 0.5519 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.4826, allocations: 35.62 kB / 0.5519 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.4848, allocations: 0.6012 MB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.4848, allocations: 1.031 kB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.4849, allocations: 19.58 kB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.485, allocations: 27.17 kB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.487, allocations: 456.1 kB / 0.553 GB, free: 10.46 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.003441/0.4904, allocations: 1.793 MB / 0.5547 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4918, allocations: 360.9 kB / 0.5551 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.4922, allocations: 157.3 kB / 0.5552 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05148/0.5437, allocations: 8.253 MB / 0.5633 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.5438, allocations: 41.23 kB / 0.5633 GB, free: 6.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.717e-06/0.5438, allocations: 0 / 0.5633 GB, free: 6.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.002419/0.5462, allocations: 0.5435 MB / 0.5639 GB, free: 6.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.5462, allocations: 54.59 kB / 0.5639 GB, free: 6.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/0.547, allocations: 420.2 kB / 0.5643 GB, free: 6.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.5471, allocations: 34.8 kB / 0.5643 GB, free: 6.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.5473, allocations: 247.3 kB / 0.5646 GB, free: 6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5474, allocations: 117.4 kB / 0.5647 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.5476, allocations: 60.69 kB / 0.5647 GB, free: 5.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5477, allocations: 352 kB / 0.5651 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.548, allocations: 99.69 kB / 0.5652 GB, free: 5.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.5483, allocations: 155.6 kB / 0.5653 GB, free: 5.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.5489, allocations: 292.9 kB / 0.5656 GB, free: 5.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5489, allocations: 4 kB / 0.5656 GB, free: 5.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007312/0.5496, allocations: 353.6 kB / 0.5659 GB, free: 5.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.5497, allocations: 9.906 kB / 0.566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5497, allocations: 1.281 kB / 0.566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.5497, allocations: 2.312 kB / 0.566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.55, allocations: 46.97 kB / 0.566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5501, allocations: 1.5 kB / 0.566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5504, allocations: 28.06 kB / 0.566 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.5504, allocations: 7.719 kB / 0.566 GB, free: 4.988 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.0003876/0.5508, allocations: 233.2 kB / 0.5663 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5509, allocations: 46.44 kB / 0.5663 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.5528, allocations: 1.161 MB / 0.5674 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-05/0.5528, allocations: 18.5 kB / 0.5675 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5528, allocations: 1.094 kB / 0.5675 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5528, allocations: 1.875 kB / 0.5675 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.5541, allocations: 0.6866 MB / 0.5681 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5541, allocations: 9.188 kB / 0.5681 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5543, allocations: 34.27 kB / 0.5682 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5543, allocations: 5.156 kB / 0.5682 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5544, allocations: 6.312 kB / 0.5682 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.5544, allocations: 1.062 kB / 0.5682 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5544, allocations: 1.062 kB / 0.5682 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5555, allocations: 0.7214 MB / 0.5689 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.5557, allocations: 67.67 kB / 0.569 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.5557, allocations: 5.75 kB / 0.569 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.556, allocations: 6 kB / 0.569 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.556, allocations: 16.84 kB / 0.569 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5561, allocations: 14.77 kB / 0.569 GB, free: 3.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004437/0.5565, allocations: 296 kB / 0.5693 GB, free: 2.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5565, allocations: 7.938 kB / 0.5693 GB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003336/0.5599, allocations: 0.4976 MB / 0.5698 GB, free: 2.879 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.005353/0.5652, allocations: 1.681 MB / 0.5714 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.5662, allocations: 388.9 kB / 0.5718 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5662, allocations: 0 / 0.5718 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.5667, allocations: 250 kB / 0.572 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.5684, allocations: 198.1 kB / 0.5722 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/0.5783, allocations: 4.538 MB / 0.5766 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.5789, allocations: 362.7 kB / 0.577 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006807/0.5796, allocations: 175.9 kB / 0.5772 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.58, allocations: 213.9 kB / 0.5774 GB, free: 14.19 MB / 430.1 MB Notification: Performance of SimCode: time 1.442e-06/0.58, allocations: 0 / 0.5774 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/0.6498, allocations: 25.53 MB / 0.6023 GB, free: 4.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.34, allocations: 4.062 kB / 0.6023 GB, free: 4.84 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 & 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: 16.62586520984769] Failed to read output from testmodel.py, exit status != 0: 13.460270651150495 13.484242139 13.005683055 Calling exit ...