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.001306/0.001306, 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.001452/0.001452, allocations: 211.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.307/1.307, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2763/0.2763, allocations: 49.61 MB / 336.4 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 180] 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.002251/0.002251, allocations: 75.89 kB / 476.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1026, allocations: 62.42 MB / 0.5262 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2066/0.3092, allocations: 14.25 MB / 0.5401 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.3102, allocations: 0.6451 MB / 0.5407 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3103, allocations: 10.03 kB / 0.5407 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.3107, allocations: 95.52 kB / 0.5408 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.3111, allocations: 212.4 kB / 0.541 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.3157, allocations: 2.047 MB / 0.543 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.3163, allocations: 455.4 kB / 0.5435 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3164, allocations: 59.5 kB / 0.5435 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.317, allocations: 380.3 kB / 0.5439 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3172, allocations: 240 kB / 0.5441 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.3173, allocations: 22.84 kB / 0.5441 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.3236, allocations: 3.505 MB / 0.5476 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.3238, allocations: 196.1 kB / 0.5477 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.3241, allocations: 208.7 kB / 0.5479 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.3285, allocations: 2.352 MB / 0.5502 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3285, allocations: 0.5938 kB / 0.5502 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3285, allocations: 4.562 kB / 0.5502 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3285, allocations: 0 / 0.5502 GB, free: 11.46 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.00271/0.3312, allocations: 1.014 MB / 0.5512 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3312, allocations: 9.094 kB / 0.5512 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.3313, allocations: 80.83 kB / 0.5513 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3315, allocations: 76.41 kB / 0.5514 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.3323, allocations: 480.1 kB / 0.5519 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3323, allocations: 33.09 kB / 0.5519 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3323, allocations: 34.69 kB / 0.5519 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3335, allocations: 0.599 MB / 0.5525 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3335, allocations: 4.703 kB / 0.5525 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.3335, allocations: 13.47 kB / 0.5525 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.3336, allocations: 31.92 kB / 0.5525 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.3345, allocations: 458.4 kB / 0.553 GB, free: 10.5 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.001745/0.3362, allocations: 1.788 MB / 0.5547 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3369, allocations: 360.3 kB / 0.5551 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3371, allocations: 163.4 kB / 0.5552 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02759/0.3647, allocations: 8.25 MB / 0.5633 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3647, allocations: 36.95 kB / 0.5633 GB, free: 6.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.3647, allocations: 0 / 0.5633 GB, free: 6.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001326/0.366, allocations: 0.5473 MB / 0.5639 GB, free: 6.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.3661, allocations: 54.31 kB / 0.5639 GB, free: 6.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.3665, allocations: 416.4 kB / 0.5643 GB, free: 6.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3665, allocations: 30.89 kB / 0.5643 GB, free: 6.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3666, allocations: 252.7 kB / 0.5646 GB, free: 6.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.3667, allocations: 119.5 kB / 0.5647 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.3668, allocations: 54.2 kB / 0.5647 GB, free: 5.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.3668, allocations: 355.9 kB / 0.5651 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.367, allocations: 107.6 kB / 0.5652 GB, free: 5.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.3672, allocations: 147.7 kB / 0.5653 GB, free: 5.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.3675, allocations: 289.3 kB / 0.5656 GB, free: 5.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3675, allocations: 6.438 kB / 0.5656 GB, free: 5.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004812/0.368, allocations: 359 kB / 0.566 GB, free: 5.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.368, allocations: 9.5 kB / 0.566 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.368, allocations: 1.344 kB / 0.566 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.368, allocations: 2.312 kB / 0.566 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3683, allocations: 39.23 kB / 0.566 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3683, allocations: 6.609 kB / 0.566 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3685, allocations: 31.38 kB / 0.566 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3685, allocations: 11.22 kB / 0.566 GB, free: 5.027 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.0002431/0.3687, allocations: 228 kB / 0.5663 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.3688, allocations: 46.06 kB / 0.5663 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3699, allocations: 1.156 MB / 0.5674 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.3699, allocations: 20.12 kB / 0.5675 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3699, allocations: 2.188 kB / 0.5675 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3699, allocations: 0 / 0.5675 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.3706, allocations: 0.6832 MB / 0.5681 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3706, allocations: 5.094 kB / 0.5681 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3707, allocations: 39.67 kB / 0.5682 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3708, allocations: 5.938 kB / 0.5682 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3708, allocations: 5.344 kB / 0.5682 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3708, allocations: 2.094 kB / 0.5682 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3708, allocations: 0 / 0.5682 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.3714, allocations: 0.7175 MB / 0.5689 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.3715, allocations: 67.23 kB / 0.5689 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.3716, allocations: 5.844 kB / 0.569 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3717, allocations: 11.03 kB / 0.569 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3718, allocations: 15.09 kB / 0.569 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3718, allocations: 9.531 kB / 0.569 GB, free: 3.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.3721, allocations: 299.6 kB / 0.5693 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 7.938 kB / 0.5693 GB, free: 3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002169/0.3742, allocations: 0.4975 MB / 0.5698 GB, free: 2.93 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.003618/0.3778, allocations: 1.681 MB / 0.5714 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.3783, allocations: 384.8 kB / 0.5718 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3783, allocations: 1.312 kB / 0.5718 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.3786, allocations: 250.7 kB / 0.572 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.3796, allocations: 205.7 kB / 0.5722 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.3848, allocations: 4.539 MB / 0.5766 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3851, allocations: 366.1 kB / 0.577 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.3855, allocations: 177.6 kB / 0.5772 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.3858, allocations: 211.8 kB / 0.5774 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3858, allocations: 0 / 0.5774 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.4459, allocations: 25.53 MB / 0.6023 GB, free: 4.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.1, allocations: 0 / 0.6023 GB, free: 4.828 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 & /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: 14.72389139700681] Failed to read output from testmodel.py, exit status != 0: 12.220767555758357 12.235379352 11.903902553 Calling exit ...