Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.001437/0.001437, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001653/0.001653, allocations: 209.9 kB / 23.73 MB, free: 4.406 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.528/1.528, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.376/0.376, allocations: 49.6 MB / 336.4 MB, free: 3.875 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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.002386/0.002386, allocations: 67.91 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 62.43 MB / 0.5262 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2888/0.4219, allocations: 14.23 MB / 0.5401 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.423, allocations: 0.6485 MB / 0.5407 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.4231, allocations: 6.969 kB / 0.5407 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.4235, allocations: 97.05 kB / 0.5408 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.4241, allocations: 214.9 kB / 0.541 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.4303, allocations: 2.041 MB / 0.543 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.4312, allocations: 0.5851 MB / 0.5436 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.4313, allocations: 46.27 kB / 0.5436 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.4321, allocations: 420.3 kB / 0.544 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.4325, allocations: 283.8 kB / 0.5443 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.4325, allocations: 21.72 kB / 0.5443 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00901/0.4416, allocations: 3.513 MB / 0.5477 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.4421, allocations: 202.3 kB / 0.5479 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006447/0.4427, allocations: 248.2 kB / 0.5482 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.4499, allocations: 2.435 MB / 0.5505 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.45, allocations: 1.469 kB / 0.5505 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.45, allocations: 4 kB / 0.5505 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.45, allocations: 0 / 0.5505 GB, free: 11.41 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004704/0.4547, allocations: 1.166 MB / 0.5517 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4547, allocations: 9.969 kB / 0.5517 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.4549, allocations: 99.02 kB / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.4552, allocations: 99.12 kB / 0.5519 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.4563, allocations: 0.4982 MB / 0.5524 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.4564, allocations: 38.56 kB / 0.5524 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.4565, allocations: 43.94 kB / 0.5524 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.4582, allocations: 0.8135 MB / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4582, allocations: 5.312 kB / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.4582, allocations: 16.03 kB / 0.5533 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.4583, allocations: 48.41 kB / 0.5533 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.4596, allocations: 0.6022 MB / 0.5539 GB, free: 10.29 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.002856/0.4625, allocations: 2.547 MB / 0.5564 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4635, allocations: 0.5155 MB / 0.5569 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.4638, allocations: 183.4 kB / 0.5571 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03159/0.4954, allocations: 8.253 MB / 0.5651 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.4954, allocations: 33.12 kB / 0.5652 GB, free: 5.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.4954, allocations: 3.938 kB / 0.5652 GB, free: 5.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00212/0.4976, allocations: 0.7392 MB / 0.5659 GB, free: 5.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.4976, allocations: 54.84 kB / 0.5659 GB, free: 5.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.4981, allocations: 479.4 kB / 0.5664 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4982, allocations: 30.8 kB / 0.5664 GB, free: 4.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4983, allocations: 271.1 kB / 0.5667 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.4984, allocations: 146.6 kB / 0.5668 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4985, allocations: 80.22 kB / 0.5669 GB, free: 4.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.4986, allocations: 363.4 kB / 0.5672 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4988, allocations: 136.6 kB / 0.5674 GB, free: 4.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.4991, allocations: 204.8 kB / 0.5676 GB, free: 3.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.4996, allocations: 369.9 kB / 0.5679 GB, free: 3.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4996, allocations: 1.156 kB / 0.5679 GB, free: 3.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006459/0.5002, allocations: 449.1 kB / 0.5683 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5003, allocations: 10.56 kB / 0.5684 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.5003, allocations: 5.484 kB / 0.5684 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5003, allocations: 3.125 kB / 0.5684 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.5006, allocations: 68.78 kB / 0.5684 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5006, allocations: 3.094 kB / 0.5684 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.5009, allocations: 45.23 kB / 0.5685 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.501, allocations: 16.31 kB / 0.5685 GB, free: 3.453 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0003281/0.5013, allocations: 264.7 kB / 0.5687 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.5014, allocations: 58.33 kB / 0.5688 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.5033, allocations: 1.836 MB / 0.5706 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/0.5033, allocations: 34.89 kB / 0.5706 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.5033, allocations: 0 / 0.5706 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5033, allocations: 0 / 0.5706 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.5045, allocations: 0.9655 MB / 0.5716 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.5045, allocations: 0 / 0.5716 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.5048, allocations: 58.88 kB / 0.5716 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5048, allocations: 5.188 kB / 0.5716 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.5048, allocations: 10.44 kB / 0.5716 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5048, allocations: 3.438 kB / 0.5716 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5048, allocations: 0 / 0.5716 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5059, allocations: 1.023 MB / 0.5726 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.5061, allocations: 98.55 kB / 0.5727 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.5061, allocations: 9.906 kB / 0.5727 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.5063, allocations: 7.562 kB / 0.5728 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.5064, allocations: 21.55 kB / 0.5728 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5064, allocations: 11.97 kB / 0.5728 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.5067, allocations: 335.3 kB / 0.5731 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5067, allocations: 4 kB / 0.5731 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003028/0.5098, allocations: 0.5347 MB / 0.5736 GB, free: 0.5781 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.004553/0.5143, allocations: 1.987 MB / 0.5756 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009493/0.5153, allocations: 0.535 MB / 0.5761 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5153, allocations: 3 kB / 0.5761 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.5157, allocations: 378.1 kB / 0.5765 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.5174, allocations: 282.9 kB / 0.5767 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009801/0.5272, allocations: 5.514 MB / 0.5821 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.5278, allocations: 462.7 kB / 0.5826 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007144/0.5285, allocations: 269.1 kB / 0.5828 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.5289, allocations: 271.3 kB / 0.5831 GB, free: 8.516 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5289, allocations: 0 / 0.5831 GB, free: 8.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07859/0.6075, allocations: 29.99 MB / 0.6124 GB, free: 10.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.47, allocations: 3.984 kB / 0.6124 GB, free: 10.42 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse_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_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.807438454125077] Failed to read output from testmodel.py, exit status != 0: 13.598488528747112 13.615007955 13.161663857 Calling exit ...