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.001779/0.001779, allocations: 115.8 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.002122/0.002122, allocations: 214.1 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.306/1.306, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.2786/0.2786, allocations: 49.57 MB / 336.3 MB, free: 4.102 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.002334/0.002334, allocations: 71.89 kB / 476.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1136, allocations: 62.42 MB / 0.5262 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.253/0.3666, allocations: 15.69 MB / 0.5415 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3677, allocations: 0.7099 MB / 0.5422 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3678, allocations: 6.656 kB / 0.5422 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.3683, allocations: 107.3 kB / 0.5423 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.3689, allocations: 217.7 kB / 0.5425 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006768/0.3757, allocations: 2.063 MB / 0.5445 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008094/0.3765, allocations: 453.5 kB / 0.5449 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3767, allocations: 59.08 kB / 0.545 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.3774, allocations: 387.9 kB / 0.5454 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.3778, allocations: 243.7 kB / 0.5456 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.3778, allocations: 20.97 kB / 0.5456 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008083/0.3859, allocations: 3.639 MB / 0.5492 GB, free: 11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.3862, allocations: 198.8 kB / 0.5494 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.3866, allocations: 256 kB / 0.5496 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.3921, allocations: 2.355 MB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3921, allocations: 1.719 kB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3921, allocations: 0 / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.3921, allocations: 0 / 0.5519 GB, free: 10.73 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.003228/0.3954, allocations: 1.02 MB / 0.5529 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3954, allocations: 10.16 kB / 0.5529 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.838e-05/0.3955, allocations: 82.78 kB / 0.553 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.3957, allocations: 75.56 kB / 0.5531 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.3965, allocations: 477.3 kB / 0.5535 GB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.3965, allocations: 27.44 kB / 0.5535 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.3966, allocations: 34.66 kB / 0.5536 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3979, allocations: 0.602 MB / 0.5542 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3979, allocations: 5.156 kB / 0.5542 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.3979, allocations: 14.94 kB / 0.5542 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.398, allocations: 28.12 kB / 0.5542 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.3989, allocations: 456.1 kB / 0.5546 GB, free: 9.73 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.00239/0.4013, allocations: 3.116 MB / 0.5577 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.402, allocations: 357.5 kB / 0.558 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.4023, allocations: 158.2 kB / 0.5582 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02842/0.4307, allocations: 8.224 MB / 0.5662 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4307, allocations: 35.56 kB / 0.5662 GB, free: 4.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/0.4308, allocations: 1.25 kB / 0.5663 GB, free: 4.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001486/0.4322, allocations: 0.5504 MB / 0.5668 GB, free: 4.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4323, allocations: 54.75 kB / 0.5668 GB, free: 4.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.4329, allocations: 411.2 kB / 0.5672 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4329, allocations: 30.8 kB / 0.5673 GB, free: 3.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.433, allocations: 256.8 kB / 0.5675 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.4331, allocations: 111.5 kB / 0.5676 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.4332, allocations: 59.83 kB / 0.5677 GB, free: 3.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.4333, allocations: 356 kB / 0.568 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4334, allocations: 99.78 kB / 0.5681 GB, free: 2.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.4336, allocations: 150 kB / 0.5682 GB, free: 2.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.434, allocations: 291.7 kB / 0.5685 GB, free: 2.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.434, allocations: 1.531 kB / 0.5685 GB, free: 2.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000516/0.4345, allocations: 357 kB / 0.5689 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4346, allocations: 5.656 kB / 0.5689 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4346, allocations: 5.469 kB / 0.5689 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4346, allocations: 2.531 kB / 0.5689 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4348, allocations: 50.5 kB / 0.5689 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4348, allocations: 3 kB / 0.5689 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.435, allocations: 30.22 kB / 0.569 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.435, allocations: 7.125 kB / 0.569 GB, free: 2.488 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.0002605/0.4353, allocations: 229.1 kB / 0.5692 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.4354, allocations: 46.75 kB / 0.5692 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.4366, allocations: 1.157 MB / 0.5704 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.4366, allocations: 19.78 kB / 0.5704 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4366, allocations: 0 / 0.5704 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4367, allocations: 0 / 0.5704 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.4375, allocations: 0.7114 MB / 0.5711 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4375, allocations: 5.031 kB / 0.5711 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.4376, allocations: 39.19 kB / 0.5711 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4376, allocations: 1.094 kB / 0.5711 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.4377, allocations: 9.719 kB / 0.5711 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4377, allocations: 3.812 kB / 0.5711 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4377, allocations: 4 kB / 0.5711 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.4384, allocations: 0.722 MB / 0.5718 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.4385, allocations: 68.02 kB / 0.5719 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4386, allocations: 6.406 kB / 0.5719 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4387, allocations: 6.5 kB / 0.5719 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.4387, allocations: 18.36 kB / 0.5719 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4388, allocations: 12.67 kB / 0.5719 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002871/0.439, allocations: 303.3 kB / 0.5722 GB, free: 444 kB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.439, allocations: 1.094 kB / 0.5722 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002741/0.4418, allocations: 0.5014 MB / 0.5727 GB, free: 368 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.003188/0.445, allocations: 1.67 MB / 0.5744 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.4456, allocations: 392 kB / 0.5747 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4456, allocations: 1.344 kB / 0.5747 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.446, allocations: 255.8 kB / 0.575 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4471, allocations: 196.9 kB / 0.5752 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.454, allocations: 4.538 MB / 0.5796 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/0.4547, allocations: 0.9707 MB / 0.5805 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.4552, allocations: 189.5 kB / 0.5807 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4555, allocations: 203.4 kB / 0.5809 GB, free: 10.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4555, allocations: 0 / 0.5809 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/0.5219, allocations: 25.05 MB / 0.6054 GB, free: 1.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.52, allocations: 15.69 kB / 0.6054 GB, free: 1.766 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: 15.260731345973909] Failed to read output from testmodel.py, exit status != 0: 12.634634514106438 12.661867102 12.264920832 Calling exit ...