Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001252/0.001252, 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.001372/0.001372, allocations: 212.8 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.383/1.383, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1455/0.1455, allocations: 26.81 MB / 340.7 MB, free: 8.195 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.001998/0.001998, allocations: 68.17 kB / 476.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 60.49 MB / 0.5248 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.0176/0.3609, allocations: 15.78 MB / 0.5402 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3622, allocations: 0.7239 MB / 0.5409 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3623, allocations: 7.938 kB / 0.5409 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.3628, allocations: 118.2 kB / 0.541 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.3634, allocations: 213.4 kB / 0.5412 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006943/0.3703, allocations: 2.063 MB / 0.5432 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/0.3711, allocations: 0.6021 MB / 0.5438 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3713, allocations: 42.09 kB / 0.5438 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.372, allocations: 420.7 kB / 0.5442 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.3724, allocations: 284.1 kB / 0.5445 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.3724, allocations: 21 kB / 0.5445 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007444/0.3799, allocations: 3.655 MB / 0.5481 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.3802, allocations: 216.1 kB / 0.5483 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.3807, allocations: 296.7 kB / 0.5486 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.387, allocations: 2.445 MB / 0.551 GB, free: 8.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3871, allocations: 0 / 0.551 GB, free: 8.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3871, allocations: 0 / 0.551 GB, free: 8.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3871, allocations: 1.094 kB / 0.551 GB, free: 8.184 MB / 398.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.003905/0.391, allocations: 1.174 MB / 0.5521 GB, free: 7.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.391, allocations: 9.594 kB / 0.5521 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.3912, allocations: 96.23 kB / 0.5522 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.3915, allocations: 100.9 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009314/0.3924, allocations: 496.1 kB / 0.5528 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.3925, allocations: 44.31 kB / 0.5528 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.3925, allocations: 46.2 kB / 0.5529 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.394, allocations: 0.8179 MB / 0.5537 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3941, allocations: 1.406 kB / 0.5537 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.3941, allocations: 17.62 kB / 0.5537 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.3942, allocations: 45.42 kB / 0.5537 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3954, allocations: 0.6105 MB / 0.5543 GB, free: 5.996 MB / 398.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.004308/0.3997, allocations: 4.252 MB / 0.5585 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4009, allocations: 0.5247 MB / 0.559 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.4012, allocations: 169 kB / 0.5592 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/0.4316, allocations: 8.44 MB / 0.5674 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.4316, allocations: 38.56 kB / 0.5674 GB, free: 8.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.4316, allocations: 0 / 0.5674 GB, free: 8.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002006/0.4337, allocations: 0.747 MB / 0.5682 GB, free: 7.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4337, allocations: 63.41 kB / 0.5682 GB, free: 7.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.4343, allocations: 465.9 kB / 0.5687 GB, free: 7.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.4343, allocations: 37.69 kB / 0.5687 GB, free: 7.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.4346, allocations: 276.6 kB / 0.569 GB, free: 7.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4347, allocations: 142.7 kB / 0.5691 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4348, allocations: 73.66 kB / 0.5692 GB, free: 6.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.435, allocations: 362.8 kB / 0.5695 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.4352, allocations: 132.3 kB / 0.5697 GB, free: 6.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.4355, allocations: 205.3 kB / 0.5699 GB, free: 6.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.436, allocations: 370.5 kB / 0.5702 GB, free: 5.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.436, allocations: 0 / 0.5702 GB, free: 5.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000684/0.4367, allocations: 445.1 kB / 0.5706 GB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4367, allocations: 8 kB / 0.5706 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4367, allocations: 4.219 kB / 0.5706 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4367, allocations: 4 kB / 0.5706 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.437, allocations: 71.89 kB / 0.5707 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.437, allocations: 4 kB / 0.5707 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.4373, allocations: 47.61 kB / 0.5708 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.4373, allocations: 12 kB / 0.5708 GB, free: 5.109 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.0003357/0.4377, allocations: 266 kB / 0.571 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.4378, allocations: 51.67 kB / 0.5711 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.4398, allocations: 1.848 MB / 0.5729 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/0.4399, allocations: 31.95 kB / 0.5729 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4399, allocations: 0 / 0.5729 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4399, allocations: 3.984 kB / 0.5729 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4412, allocations: 0.9921 MB / 0.5739 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4412, allocations: 0 / 0.5739 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4414, allocations: 55.91 kB / 0.5739 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4415, allocations: 4 kB / 0.5739 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.4415, allocations: 7.984 kB / 0.574 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4415, allocations: 4 kB / 0.574 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4415, allocations: 4 kB / 0.574 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4427, allocations: 1.011 MB / 0.5749 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4428, allocations: 103 kB / 0.575 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.4429, allocations: 4 kB / 0.575 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4431, allocations: 23.97 kB / 0.5751 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4431, allocations: 15.97 kB / 0.5751 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.4431, allocations: 19.92 kB / 0.5751 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.4435, allocations: 335.1 kB / 0.5754 GB, free: 272 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4435, allocations: 0 / 0.5754 GB, free: 272 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002033/0.4456, allocations: 0.5422 MB / 0.576 GB, free: 15.72 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.00379/0.4493, allocations: 1.985 MB / 0.5779 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008358/0.4502, allocations: 0.5443 MB / 0.5784 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4502, allocations: 0 / 0.5784 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.4506, allocations: 370 kB / 0.5788 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4521, allocations: 292 kB / 0.5791 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.4599, allocations: 5.524 MB / 0.5845 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/0.4606, allocations: 1.045 MB / 0.5855 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005507/0.4611, allocations: 268.1 kB / 0.5857 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.4614, allocations: 275.3 kB / 0.586 GB, free: 5.273 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4614, allocations: 0 / 0.586 GB, free: 5.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/0.5278, allocations: 29.69 MB / 0.615 GB, free: 7.781 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.7, allocations: 15.94 kB / 0.615 GB, free: 7.766 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.26679816597607] Failed to read output from testmodel.py, exit status != 0: 12.821786826010793 12.850149453 12.457170653 Calling exit ...