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.001869/0.001869, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002263/0.002263, allocations: 215 kB / 21.45 MB, free: 1.641 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.49/1.49, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.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.405/0.405, allocations: 49.51 MB / 333.2 MB, free: 0.7383 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="cs",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.002233/0.002233, allocations: 76.5 kB / 471.6 MB, free: 40.99 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08788, allocations: 62.34 MB / 0.5214 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01969/0.1076, allocations: 15.61 MB / 0.5366 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1087, allocations: 0.7166 MB / 0.5373 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1089, allocations: 7.938 kB / 0.5373 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1093, allocations: 115.3 kB / 0.5374 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.1099, allocations: 203.1 kB / 0.5376 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005748/0.1156, allocations: 2.056 MB / 0.5396 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.1163, allocations: 449.7 kB / 0.5401 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1165, allocations: 81.27 kB / 0.5402 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.1171, allocations: 371.1 kB / 0.5405 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.1175, allocations: 243.1 kB / 0.5407 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1175, allocations: 20 kB / 0.5408 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007752/0.1253, allocations: 3.625 MB / 0.5443 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.1256, allocations: 207.4 kB / 0.5445 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.126, allocations: 246.7 kB / 0.5447 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005748/0.1318, allocations: 2.353 MB / 0.547 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1318, allocations: 0 / 0.547 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1318, allocations: 0 / 0.547 GB, free: 7.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1318, allocations: 0 / 0.547 GB, free: 7.93 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.002971/0.1347, allocations: 1.09 MB / 0.5481 GB, free: 6.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1348, allocations: 12.03 kB / 0.5481 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.731e-05/0.1348, allocations: 13.12 kB / 0.5481 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.679e-05/0.1349, allocations: 78.72 kB / 0.5482 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.1351, allocations: 84.53 kB / 0.5483 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.136, allocations: 0.5186 MB / 0.5488 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1361, allocations: 25 kB / 0.5488 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.1361, allocations: 32 kB / 0.5488 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1372, allocations: 0.6053 MB / 0.5494 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1372, allocations: 0 / 0.5494 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.1373, allocations: 19.98 kB / 0.5494 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.1373, allocations: 32.58 kB / 0.5495 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/0.1383, allocations: 454.2 kB / 0.5499 GB, free: 4.844 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.003348/0.1416, allocations: 3.157 MB / 0.553 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/0.1426, allocations: 370.4 kB / 0.5533 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.1428, allocations: 152.8 kB / 0.5535 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03614/0.179, allocations: 15.38 MB / 0.5685 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.179, allocations: 30.56 kB / 0.5685 GB, free: 15.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.325e-06/0.179, allocations: 4 kB / 0.5685 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001496/0.1805, allocations: 0.5401 MB / 0.5691 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1805, allocations: 55.39 kB / 0.5691 GB, free: 14.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.1811, allocations: 425.5 kB / 0.5695 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1811, allocations: 33.69 kB / 0.5696 GB, free: 14.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1813, allocations: 240.5 kB / 0.5698 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1814, allocations: 111 kB / 0.5699 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1815, allocations: 61.67 kB / 0.57 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1817, allocations: 354.8 kB / 0.5703 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.1819, allocations: 99.94 kB / 0.5704 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.1821, allocations: 148.2 kB / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.1826, allocations: 292.8 kB / 0.5708 GB, free: 13.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1826, allocations: 0 / 0.5708 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005823/0.1832, allocations: 356.9 kB / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1832, allocations: 8 kB / 0.5712 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1832, allocations: 0 / 0.5712 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1832, allocations: 4 kB / 0.5712 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1834, allocations: 47.91 kB / 0.5712 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1834, allocations: 4 kB / 0.5712 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1836, allocations: 31.73 kB / 0.5712 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.1836, allocations: 8 kB / 0.5712 GB, free: 12.7 MB / 446.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.0002841/0.1839, allocations: 233.8 kB / 0.5715 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.184, allocations: 39.77 kB / 0.5715 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.1854, allocations: 1.112 MB / 0.5726 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/0.1855, allocations: 19.97 kB / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1855, allocations: 0 / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1855, allocations: 0 / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.1864, allocations: 0.73 MB / 0.5733 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1864, allocations: 0 / 0.5733 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1866, allocations: 43.92 kB / 0.5734 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1866, allocations: 7.938 kB / 0.5734 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1866, allocations: 4 kB / 0.5734 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1866, allocations: 3.938 kB / 0.5734 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1866, allocations: 0 / 0.5734 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.1875, allocations: 0.7122 MB / 0.5741 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1876, allocations: 140.5 kB / 0.5742 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.1877, allocations: 4 kB / 0.5742 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1879, allocations: 8 kB / 0.5742 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1879, allocations: 19.97 kB / 0.5742 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1879, allocations: 8 kB / 0.5742 GB, free: 9.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.1883, allocations: 299.1 kB / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1883, allocations: 0 / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001441/0.1897, allocations: 0.5031 MB / 0.575 GB, free: 8.723 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: 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.003228/0.1929, allocations: 1.671 MB / 0.5767 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.1936, allocations: 378.8 kB / 0.577 GB, free: 6.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1936, allocations: 0 / 0.577 GB, free: 6.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.194, allocations: 241.1 kB / 0.5772 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.1952, allocations: 210.2 kB / 0.5774 GB, free: 6.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.2017, allocations: 4.526 MB / 0.5819 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.2023, allocations: 0.9537 MB / 0.5828 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.2028, allocations: 190.9 kB / 0.583 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.2031, allocations: 199.4 kB / 0.5832 GB, free: 228 kB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2031, allocations: 0 / 0.5832 GB, free: 228 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05272/0.2558, allocations: 24.51 MB / 0.6071 GB, free: 7.613 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.5, allocations: 19.77 kB / 0.6071 GB, free: 7.594 MB / 478.1 MB " [Timeout remaining time 649] (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: 13.628378277993761] Failed to read output from testmodel.py, exit status != 0: 10.639584242017008 10.659701397 10.523899053 Calling exit ...