Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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.001822/0.001822, allocations: 77.94 kB / 21.28 MB, free: 0.5273 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.002367/0.002367, allocations: 161.6 kB / 24.55 MB, free: 3.828 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.293 MB / 190.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.1436/0.1436, allocations: 19.7 MB / 281 MB, free: 13.07 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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") [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.002256/0.002256, allocations: 71.84 kB / 417.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2624, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C): time 0.06088/0.3233, allocations: 49.46 MB / 0.5152 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3382, allocations: 9.797 MB / 0.5248 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.3387, allocations: 23.81 kB / 0.5248 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3398, allocations: 333.9 kB / 0.5251 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3411, allocations: 481.3 kB / 0.5256 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01447/0.3556, allocations: 5.123 MB / 0.5306 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007249/0.3629, allocations: 6.338 MB / 0.5368 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.366, allocations: 1.913 MB / 0.5386 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004802/0.3708, allocations: 2.664 MB / 0.5412 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/0.376, allocations: 3.025 MB / 0.5442 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.3778, allocations: 0.6562 MB / 0.5448 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01472/0.3925, allocations: 6.677 MB / 0.5514 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003493/0.396, allocations: 2.323 MB / 0.5536 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00435/0.4004, allocations: 2.568 MB / 0.5561 GB, free: 6.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.4163, allocations: 10.63 MB / 0.5665 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4163, allocations: 4 kB / 0.5665 GB, free: 11.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4163, allocations: 0 / 0.5665 GB, free: 11.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.4164, allocations: 0 / 0.5665 GB, free: 11.98 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1435 * Number of variables: 1435 Notification: Performance of Generate backend data structure: time 0.02975/0.4462, allocations: 8.104 MB / 0.5744 GB, free: 3.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4462, allocations: 8.031 kB / 0.5744 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.4501, allocations: 0.8256 MB / 0.5752 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007652/0.4578, allocations: 2.847 MB / 0.578 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.4583, allocations: 474.9 kB / 0.5785 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.4597, allocations: 0.5275 MB / 0.579 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.4876, allocations: 12.75 MB / 0.5914 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.28e-05/0.4877, allocations: 0 / 0.5914 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007461/0.4885, allocations: 220 kB / 0.5917 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002648/0.4887, allocations: 255.2 kB / 0.5919 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0416/0.5303, allocations: 15.08 MB / 0.6066 GB, free: 2.68 MB / 0.4981 GB 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.04132/0.5716, allocations: 19.57 MB / 0.6257 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.5838, allocations: 4.351 MB / 0.63 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.5873, allocations: 1.829 MB / 0.6318 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.312/0.8993, allocations: 35.11 MB / 0.6661 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.8994, allocations: 61.22 kB / 0.6661 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.29e-06/0.8994, allocations: 0 / 0.6661 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=245): time 0.08897/0.9884, allocations: 22.47 MB / 0.6881 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.9884, allocations: 77.41 kB / 0.6881 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/0.9922, allocations: 4.36 MB / 0.6924 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006657/0.9929, allocations: 65.7 kB / 0.6925 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.9942, allocations: 3.434 MB / 0.6958 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.9953, allocations: 1.046 MB / 0.6968 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.9973, allocations: 1.996 MB / 0.6988 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.9974, allocations: 345.9 kB / 0.6991 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.002, allocations: 3.876 MB / 0.7029 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/1.009, allocations: 9.076 MB / 0.7118 GB, free: 92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.022, allocations: 13.56 MB / 0.725 GB, free: 75.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/1.022, allocations: 52 kB / 0.7251 GB, free: 75.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.02469/1.047, allocations: 14.86 MB / 0.7396 GB, free: 60.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/1.047, allocations: 84 kB / 0.7396 GB, free: 60.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/1.047, allocations: 180 kB / 0.7398 GB, free: 60.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03294/1.08, allocations: 10.3 MB / 0.7499 GB, free: 50.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/1.085, allocations: 1.782 MB / 0.7516 GB, free: 48.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.1, allocations: 9.098 MB / 0.7605 GB, free: 39.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006411/1.107, allocations: 1.218 MB / 0.7617 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.108, allocations: 0.6482 MB / 0.7623 GB, free: 37.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007091/1.115, allocations: 5.076 MB / 0.7673 GB, free: 32.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007415/1.122, allocations: 9.051 MB / 0.7761 GB, free: 20.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01303/1.135, allocations: 13.5 MB / 0.7893 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001616/1.136, allocations: 56 kB / 0.7894 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1114) (initialization_lambda0): time 0.02863/1.164, allocations: 14.74 MB / 0.8037 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/1.164, allocations: 84 kB / 0.8038 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003051/1.165, allocations: 184.9 kB / 0.804 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03871/1.204, allocations: 10.29 MB / 0.8141 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.209, allocations: 1.774 MB / 0.8158 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/1.23, allocations: 9.106 MB / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006925/1.237, allocations: 0.8704 MB / 0.8255 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.239, allocations: 0.6521 MB / 0.8262 GB, free: 14.78 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * Number of states: 0 () * Number of discrete variables: 15 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.friction.NoFriction,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (961): * Single equations (assignments): 960 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,141)} Notification: Performance of prepare postOptimizeDAE: time 0.002706/1.242, allocations: 0.8563 MB / 0.827 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.243, allocations: 385.5 kB / 0.8274 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05774/1.301, allocations: 33.1 MB / 0.8597 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.135e-05/1.301, allocations: 15.94 kB / 0.8597 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.301, allocations: 0 / 0.8597 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.303, allocations: 0.7971 MB / 0.8605 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.304, allocations: 91.89 kB / 0.8606 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003328/1.307, allocations: 287.5 kB / 0.8608 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/1.308, allocations: 353.3 kB / 0.8612 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0247/1.333, allocations: 8.825 MB / 0.8698 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2358/1.569, allocations: 9.114 MB / 0.8787 GB, free: 203.1 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003198/1.572, allocations: 2.522 MB / 0.8812 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002471/1.574, allocations: 2.343 MB / 0.8835 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of Backend: time 3.21e-07/1.574, allocations: 0.7656 kB / 0.8835 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02793/1.602, allocations: 14.65 MB / 0.8978 GB, free: 197.7 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01205/1.614, allocations: 11 MB / 0.9085 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.1652/1.78, allocations: 154.1 MB / 1.059 GB, free: 38.11 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.567726826062426] Failed to read output from testmodel.py, exit status != 0: 1.7888631240930408 1.798370274 1.379567338 Calling exit ...