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.0007925/0.0007925, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008318/0.0008318, allocations: 170.3 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.8139/0.8139, allocations: 158.6 MB / 185.7 MB, free: 3.035 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: 10.9 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_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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 414.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.076e-05, allocations: 2.281 kB / 414.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01158/0.01159, allocations: 14.21 MB / 428.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.01226, allocations: 0.6463 MB / 429.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.01237, allocations: 3.938 kB / 429.2 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.01269, allocations: 107.3 kB / 429.3 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.01314, allocations: 222.8 kB / 429.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.01683, allocations: 2.067 MB / 431.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.01733, allocations: 0.618 MB / 432.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.01746, allocations: 40.89 kB / 432.3 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.01798, allocations: 499 kB / 432.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.01824, allocations: 255.3 kB / 433 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.01827, allocations: 20 kB / 433 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1464/0.1646, allocations: 3.511 MB / 436.5 MB, free: 18.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1649, allocations: 223 kB / 436.8 MB, free: 18.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.1651, allocations: 203.8 kB / 436.9 MB, free: 18.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.1689, allocations: 2.969 MB / 439.9 MB, free: 18.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1689, allocations: 1.531 kB / 439.9 MB, free: 18.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1689, allocations: 0 / 439.9 MB, free: 18.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1689, allocations: 0.6562 kB / 439.9 MB, free: 18.01 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002119/0.171, allocations: 1.159 MB / 441.1 MB, free: 17.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1711, allocations: 9.656 kB / 441.1 MB, free: 17.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/0.1711, allocations: 98.03 kB / 441.2 MB, free: 17.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.1713, allocations: 99.5 kB / 441.3 MB, free: 17.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.1719, allocations: 0.4989 MB / 441.8 MB, free: 17.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1719, allocations: 31.34 kB / 441.8 MB, free: 17.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.1719, allocations: 46.05 kB / 441.9 MB, free: 17.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.1728, allocations: 0.8192 MB / 442.7 MB, free: 16.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1729, allocations: 1.219 kB / 442.7 MB, free: 16.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.1729, allocations: 19.03 kB / 442.7 MB, free: 16.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.1729, allocations: 42.23 kB / 442.7 MB, free: 16.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.1737, allocations: 0.61 MB / 443.3 MB, free: 16.98 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.001692/0.1754, allocations: 2.542 MB / 445.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.1761, allocations: 0.5104 MB / 446.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1763, allocations: 176 kB / 446.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.1929, allocations: 8.254 MB / 454.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.1929, allocations: 35.61 kB / 454.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.956e-06/0.1929, allocations: 0 / 454.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001293/0.1942, allocations: 0.7516 MB / 455.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1943, allocations: 58.58 kB / 455.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.1947, allocations: 471.1 kB / 456.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1947, allocations: 29.08 kB / 456.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1948, allocations: 277.8 kB / 456.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.1948, allocations: 148.1 kB / 456.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.1949, allocations: 76.94 kB / 456.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.195, allocations: 367.1 kB / 457 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1951, allocations: 129 kB / 457.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1953, allocations: 203.4 kB / 457.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1956, allocations: 380.7 kB / 457.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1956, allocations: 1.094 kB / 457.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003914/0.196, allocations: 436.6 kB / 458.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.196, allocations: 5.406 kB / 458.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.196, allocations: 11.14 kB / 458.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.196, allocations: 7.625 kB / 458.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1962, allocations: 68.47 kB / 458.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1962, allocations: 3.375 kB / 458.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1964, allocations: 44.2 kB / 458.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1964, allocations: 15.28 kB / 458.3 MB, free: 13.46 MB / 362.7 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.0001827/0.1966, allocations: 256.3 kB / 458.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.1966, allocations: 55.3 kB / 458.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.1975, allocations: 1.847 MB / 460.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.1975, allocations: 30.86 kB / 460.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1976, allocations: 3.188 kB / 460.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1976, allocations: 3.984 kB / 460.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.1981, allocations: 0.9682 MB / 461.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1981, allocations: 2.625 kB / 461.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1982, allocations: 54.34 kB / 461.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1982, allocations: 7.125 kB / 461.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1982, allocations: 11.56 kB / 461.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1983, allocations: 0.875 kB / 461.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1983, allocations: 0 / 461.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.1988, allocations: 1.021 MB / 462.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1989, allocations: 87.8 kB / 462.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1989, allocations: 15.88 kB / 462.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.199, allocations: 16.91 kB / 462.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.199, allocations: 22.02 kB / 462.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.199, allocations: 11.66 kB / 462.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1992, allocations: 341.8 kB / 463 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1992, allocations: 0 / 463 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001788/0.201, allocations: 0.5353 MB / 463.6 MB, free: 10.63 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: 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.001853/0.2028, allocations: 2.035 MB / 465.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.2033, allocations: 0.5433 MB / 466.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2033, allocations: 448 / 466.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2035, allocations: 379.5 kB / 466.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.2042, allocations: 285.9 kB / 466.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.208, allocations: 5.516 MB / 472.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2082, allocations: 466.8 kB / 472.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.2085, allocations: 271.8 kB / 473 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2087, allocations: 268.4 kB / 473.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2087, allocations: 0 / 473.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.2516, allocations: 30.09 MB / 0.4916 GB, free: 3.098 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.803, allocations: 12.03 kB / 0.4916 GB, free: 3.086 MB / 394.7 MB " [Timeout remaining time 652] (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: 9.660620853304863] Failed to read output from testmodel.py, exit status != 0: 7.899409859441221 7.907548378 7.737038764 Calling exit ...