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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.399/1.399, allocations: 207.6 MB / 231.1 MB, free: 4.113 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3899/0.3899, allocations: 49.52 MB / 332.5 MB, free: 0.7773 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 70.86 kB / 470.8 MB, free: 41.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09586, allocations: 62.34 MB / 0.5206 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01851/0.1144, allocations: 15.6 MB / 0.5359 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.1154, allocations: 0.7203 MB / 0.5366 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.1155, allocations: 8 kB / 0.5366 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.1159, allocations: 107.4 kB / 0.5367 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.1164, allocations: 199.1 kB / 0.5369 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.1213, allocations: 2.048 MB / 0.5389 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.122, allocations: 0.5911 MB / 0.5394 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1222, allocations: 64.64 kB / 0.5395 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.1227, allocations: 407 kB / 0.5399 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1231, allocations: 275 kB / 0.5402 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1232, allocations: 27.98 kB / 0.5402 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/0.1294, allocations: 3.633 MB / 0.5437 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.1297, allocations: 215.3 kB / 0.5439 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.13, allocations: 302.4 kB / 0.5442 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.1336, allocations: 2.427 MB / 0.5466 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1336, allocations: 0 / 0.5466 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1336, allocations: 0 / 0.5466 GB, free: 7.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1336, allocations: 0 / 0.5466 GB, free: 7.668 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.002871/0.1364, allocations: 1.253 MB / 0.5478 GB, free: 6.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1365, allocations: 8.031 kB / 0.5478 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.1366, allocations: 94.7 kB / 0.5479 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.1369, allocations: 92.48 kB / 0.548 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/0.1378, allocations: 0.558 MB / 0.5485 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.1379, allocations: 44.94 kB / 0.5486 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.138, allocations: 40 kB / 0.5486 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.1394, allocations: 0.8156 MB / 0.5494 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1395, allocations: 0 / 0.5494 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.1395, allocations: 20 kB / 0.5494 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.73e-05/0.1396, allocations: 40.98 kB / 0.5495 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1408, allocations: 0.6125 MB / 0.5501 GB, free: 3.938 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.004051/0.1449, allocations: 4.305 MB / 0.5543 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.146, allocations: 0.5103 MB / 0.5548 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.1463, allocations: 177.1 kB / 0.555 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03335/0.1797, allocations: 15.39 MB / 0.57 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.1797, allocations: 38.5 kB / 0.57 GB, free: 13.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.1797, allocations: 0 / 0.57 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.002065/0.1818, allocations: 0.7393 MB / 0.5707 GB, free: 12.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1818, allocations: 59.39 kB / 0.5708 GB, free: 12.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.1825, allocations: 473.8 kB / 0.5712 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1825, allocations: 37.7 kB / 0.5713 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1827, allocations: 276.6 kB / 0.5715 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1829, allocations: 142.7 kB / 0.5717 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.183, allocations: 73.69 kB / 0.5718 GB, free: 11.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.1832, allocations: 362.8 kB / 0.5721 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.1835, allocations: 128.3 kB / 0.5722 GB, free: 10.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1838, allocations: 213.3 kB / 0.5724 GB, free: 10.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.1843, allocations: 374.5 kB / 0.5728 GB, free: 10.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1843, allocations: 0 / 0.5728 GB, free: 10.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007184/0.185, allocations: 441.2 kB / 0.5732 GB, free: 9.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.185, allocations: 8 kB / 0.5732 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.185, allocations: 3.938 kB / 0.5732 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1851, allocations: 4 kB / 0.5732 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1854, allocations: 76.11 kB / 0.5733 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1854, allocations: 4 kB / 0.5733 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1856, allocations: 51.56 kB / 0.5733 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.1856, allocations: 19.98 kB / 0.5734 GB, free: 9.676 MB / 446.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.0003786/0.186, allocations: 250.5 kB / 0.5736 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.1861, allocations: 51.67 kB / 0.5737 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.1881, allocations: 1.774 MB / 0.5754 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.1881, allocations: 31.95 kB / 0.5754 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1881, allocations: 0 / 0.5754 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1881, allocations: 7.984 kB / 0.5754 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1892, allocations: 0.9929 MB / 0.5764 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1893, allocations: 7.984 kB / 0.5764 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1895, allocations: 47.97 kB / 0.5764 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1895, allocations: 4 kB / 0.5764 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1895, allocations: 11.98 kB / 0.5765 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1895, allocations: 3.938 kB / 0.5765 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1895, allocations: 0 / 0.5765 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1906, allocations: 0.9953 MB / 0.5774 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1908, allocations: 176.2 kB / 0.5776 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.1908, allocations: 4 kB / 0.5776 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.191, allocations: 11.98 kB / 0.5776 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1911, allocations: 19.97 kB / 0.5776 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1911, allocations: 12 kB / 0.5776 GB, free: 5.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003778/0.1915, allocations: 335.1 kB / 0.578 GB, free: 4.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1915, allocations: 3.938 kB / 0.578 GB, free: 4.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001396/0.1929, allocations: 0.5383 MB / 0.5785 GB, free: 4.312 MB / 446.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.003099/0.196, allocations: 1.961 MB / 0.5804 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.1968, allocations: 0.5205 MB / 0.5809 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1968, allocations: 0 / 0.5809 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.1972, allocations: 366 kB / 0.5813 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.1987, allocations: 273.7 kB / 0.5815 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/0.2061, allocations: 5.488 MB / 0.5869 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.2068, allocations: 1.049 MB / 0.5879 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005462/0.2074, allocations: 280 kB / 0.5882 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.2077, allocations: 275.3 kB / 0.5884 GB, free: 9.945 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2077, allocations: 0 / 0.5884 GB, free: 9.945 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05974/0.2675, allocations: 28.71 MB / 0.6165 GB, free: 13.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/9.854, allocations: 0 / 0.6165 GB, free: 13.13 MB / 494.1 MB " [Timeout remaining time 650] (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: 12.813340621069074] Failed to read output from testmodel.py, exit status != 0: 9.942136080935597 9.966059282 9.828101386 Calling exit ...