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.0008083/0.0008083, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 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.0009292/0.0009292, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8011/0.8011, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 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.1698/0.1698, allocations: 36.35 MB / 274.3 MB, free: 11 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 414.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.925e-05, allocations: 6.219 kB / 414.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01293/0.01295, allocations: 14.23 MB / 428.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.01369, allocations: 0.6504 MB / 429.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.01383, allocations: 11.94 kB / 429.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.01421, allocations: 95.36 kB / 429.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.0148, allocations: 222.8 kB / 429.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.01919, allocations: 2.067 MB / 431.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.01965, allocations: 479.9 kB / 432.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.01981, allocations: 53.38 kB / 432.2 MB, free: 4.195 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.02035, allocations: 451 kB / 432.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.02064, allocations: 211.5 kB / 432.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.02068, allocations: 23.94 kB / 432.8 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.02505, allocations: 3.515 MB / 436.3 MB, free: 4 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1558/0.1808, allocations: 197.4 kB / 436.5 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.181, allocations: 171.2 kB / 436.7 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004712/0.1857, allocations: 2.894 MB / 439.6 MB, free: 18.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1857, allocations: 0 / 439.6 MB, free: 18.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1857, allocations: 0 / 439.6 MB, free: 18.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1857, allocations: 1.188 kB / 439.6 MB, free: 18.16 MB / 362.7 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.002672/0.1884, allocations: 1.009 MB / 440.6 MB, free: 17.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1885, allocations: 10.12 kB / 440.6 MB, free: 17.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.1885, allocations: 83.12 kB / 440.7 MB, free: 17.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1887, allocations: 74.69 kB / 440.8 MB, free: 17.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.1893, allocations: 477.2 kB / 441.2 MB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.1893, allocations: 29.31 kB / 441.3 MB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1894, allocations: 37.44 kB / 441.3 MB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.1902, allocations: 0.5988 MB / 441.9 MB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1902, allocations: 4.688 kB / 441.9 MB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1902, allocations: 14.91 kB / 441.9 MB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.1902, allocations: 32.22 kB / 442 MB, free: 17.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.1909, allocations: 454.7 kB / 442.4 MB, free: 17.22 MB / 362.7 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.001485/0.1924, allocations: 1.802 MB / 444.2 MB, free: 16.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.1929, allocations: 350.3 kB / 444.5 MB, free: 16.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.193, allocations: 159.2 kB / 444.7 MB, free: 16.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.2096, allocations: 8.249 MB / 452.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2097, allocations: 38.31 kB / 453 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.735e-06/0.2097, allocations: 1.125 kB / 453 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001044/0.2107, allocations: 0.5457 MB / 453.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.2107, allocations: 54.38 kB / 453.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.2111, allocations: 420.6 kB / 454 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2111, allocations: 26.8 kB / 454 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2112, allocations: 256.3 kB / 454.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.2113, allocations: 110.6 kB / 454.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.2113, allocations: 58.03 kB / 454.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.2114, allocations: 356.4 kB / 454.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2115, allocations: 107.2 kB / 454.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2116, allocations: 151.5 kB / 455 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.2119, allocations: 282.4 kB / 455.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2119, allocations: 1.062 kB / 455.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003294/0.2122, allocations: 352.3 kB / 455.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2122, allocations: 11.86 kB / 455.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2122, allocations: 6.531 kB / 455.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.2123, allocations: 6.812 kB / 455.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2124, allocations: 44.61 kB / 455.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2124, allocations: 2.219 kB / 455.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2126, allocations: 23.94 kB / 455.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.2126, allocations: 9.109 kB / 455.8 MB, free: 14.54 MB / 362.7 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.0001966/0.2128, allocations: 233 kB / 456 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.2128, allocations: 42.97 kB / 456 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.2136, allocations: 1.168 MB / 457.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.2136, allocations: 22.11 kB / 457.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2136, allocations: 0 / 457.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2136, allocations: 1.062 kB / 457.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2141, allocations: 0.6843 MB / 457.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2141, allocations: 0 / 457.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.2142, allocations: 37.89 kB / 457.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2142, allocations: 4.969 kB / 457.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2142, allocations: 1.844 kB / 458 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2142, allocations: 10.17 kB / 458 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2142, allocations: 0 / 458 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.2147, allocations: 0.7246 MB / 458.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2147, allocations: 70.98 kB / 458.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.2148, allocations: 4 kB / 458.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.2148, allocations: 16.73 kB / 458.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.2149, allocations: 14.53 kB / 458.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2149, allocations: 9.562 kB / 458.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.215, allocations: 297.3 kB / 459.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.215, allocations: 0 / 459.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001816/0.2168, allocations: 0.5001 MB / 459.6 MB, free: 13.02 MB / 362.7 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.001901/0.2187, allocations: 1.739 MB / 461.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.2191, allocations: 387.2 kB / 461.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2191, allocations: 0 / 461.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2193, allocations: 247.8 kB / 461.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.2199, allocations: 202.9 kB / 462.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.2233, allocations: 4.549 MB / 466.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.2235, allocations: 350.8 kB / 467 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.2237, allocations: 184.1 kB / 467.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2239, allocations: 204.4 kB / 467.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2239, allocations: 0 / 467.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.2636, allocations: 25.68 MB / 493.1 MB, free: 13.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/7.928, allocations: 3.984 kB / 493.1 MB, free: 13.48 MB / 394.7 MB " [Timeout remaining time 652] (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: 9.793079679831862] Failed to read output from testmodel.py, exit status != 0: 8.025961927138269 8.038059395 7.84954312 Calling exit ...