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.001699/0.001699, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002001/0.002001, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.422/1.422, allocations: 207.6 MB / 234.5 MB, free: 10 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.2787/0.2787, allocations: 49.57 MB / 336.3 MB, free: 4.121 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.002159/0.002159, allocations: 71.89 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2278/0.3417, allocations: 15.67 MB / 0.5414 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007931/0.3425, allocations: 0.7153 MB / 0.5421 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3426, allocations: 5.688 kB / 0.5421 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.343, allocations: 107.5 kB / 0.5423 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.3434, allocations: 214.6 kB / 0.5425 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.348, allocations: 2.062 MB / 0.5445 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.3487, allocations: 0.5879 MB / 0.545 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3488, allocations: 46.22 kB / 0.5451 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.3494, allocations: 425 kB / 0.5455 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.3497, allocations: 286.7 kB / 0.5458 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.3498, allocations: 21.5 kB / 0.5458 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/0.3564, allocations: 3.648 MB / 0.5494 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3567, allocations: 211.1 kB / 0.5496 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.357, allocations: 296.2 kB / 0.5498 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004249/0.3613, allocations: 2.439 MB / 0.5522 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3613, allocations: 0 / 0.5522 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3613, allocations: 1.219 kB / 0.5522 GB, free: 11.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3613, allocations: 4 kB / 0.5522 GB, free: 11.06 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.003616/0.3649, allocations: 1.16 MB / 0.5534 GB, free: 10.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.365, allocations: 9.938 kB / 0.5534 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3651, allocations: 100 kB / 0.5535 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.3654, allocations: 98.94 kB / 0.5536 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.3663, allocations: 0.4923 MB / 0.554 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3663, allocations: 39.33 kB / 0.5541 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.3664, allocations: 46.88 kB / 0.5541 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3677, allocations: 0.8097 MB / 0.5549 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3677, allocations: 9.031 kB / 0.5549 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3677, allocations: 21.69 kB / 0.5549 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.3678, allocations: 43.03 kB / 0.555 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.369, allocations: 0.6087 MB / 0.5556 GB, free: 9.617 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.002638/0.3716, allocations: 4.266 MB / 0.5597 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.3726, allocations: 0.5097 MB / 0.5602 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.3728, allocations: 180.5 kB / 0.5604 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/0.3996, allocations: 8.219 MB / 0.5684 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3996, allocations: 43.86 kB / 0.5685 GB, free: 2.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.3996, allocations: 0 / 0.5685 GB, free: 2.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00179/0.4014, allocations: 0.7446 MB / 0.5692 GB, free: 2.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.4014, allocations: 55.56 kB / 0.5693 GB, free: 2.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.4019, allocations: 470.4 kB / 0.5697 GB, free: 2.035 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4019, allocations: 31.14 kB / 0.5697 GB, free: 2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.402, allocations: 275.9 kB / 0.57 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.4021, allocations: 143.5 kB / 0.5701 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.4022, allocations: 74.25 kB / 0.5702 GB, free: 1.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.4022, allocations: 362.4 kB / 0.5706 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.4024, allocations: 132.2 kB / 0.5707 GB, free: 1.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4026, allocations: 200.3 kB / 0.5709 GB, free: 1.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.403, allocations: 382.5 kB / 0.5712 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.403, allocations: 1.156 kB / 0.5712 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005539/0.4036, allocations: 445.8 kB / 0.5717 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4036, allocations: 9.75 kB / 0.5717 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4036, allocations: 5.328 kB / 0.5717 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4036, allocations: 4.156 kB / 0.5717 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.4039, allocations: 68.03 kB / 0.5717 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4039, allocations: 3.438 kB / 0.5717 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.4041, allocations: 46.23 kB / 0.5718 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.4042, allocations: 19.78 kB / 0.5718 GB, free: 0.5391 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.000237/0.4044, allocations: 256.9 kB / 0.5721 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.4045, allocations: 54.92 kB / 0.5721 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.4063, allocations: 1.85 MB / 0.5739 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.4063, allocations: 33.52 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4063, allocations: 2.062 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4063, allocations: 3.984 kB / 0.574 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4074, allocations: 0.9929 MB / 0.5749 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4074, allocations: 0 / 0.5749 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.4076, allocations: 61.25 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4076, allocations: 1.25 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4077, allocations: 10.62 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4077, allocations: 1.25 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4077, allocations: 1.25 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.4087, allocations: 1.023 MB / 0.576 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4088, allocations: 95.06 kB / 0.5761 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.4089, allocations: 5.656 kB / 0.5761 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.4091, allocations: 19.06 kB / 0.5761 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.4091, allocations: 20.77 kB / 0.5761 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.4091, allocations: 15.59 kB / 0.5761 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003278/0.4095, allocations: 335.9 kB / 0.5765 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4095, allocations: 0 / 0.5765 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002258/0.4117, allocations: 0.532 MB / 0.577 GB, free: 13.66 MB / 430.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.003269/0.415, allocations: 1.981 MB / 0.5789 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.4157, allocations: 0.5379 MB / 0.5794 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4157, allocations: 0 / 0.5794 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.4161, allocations: 369.9 kB / 0.5798 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.4174, allocations: 295.4 kB / 0.5801 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.4244, allocations: 5.512 MB / 0.5855 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.4251, allocations: 1.056 MB / 0.5865 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.4256, allocations: 273.2 kB / 0.5867 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.4259, allocations: 273.7 kB / 0.587 GB, free: 4.621 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4259, allocations: 0 / 0.587 GB, free: 4.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/0.4899, allocations: 29.58 MB / 0.6159 GB, free: 6.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.8, allocations: 7.953 kB / 0.6159 GB, free: 6.953 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 15.643688925076276] Failed to read output from testmodel.py, exit status != 0: 12.92173685412854 12.94292747 12.577682281 Calling exit ...