Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.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.001684/0.001684, allocations: 75.12 kB / 21.28 MB, free: 0.5156 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.001454/0.001454, allocations: 164.1 kB / 24.55 MB, free: 3.809 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.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 9.266 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.138/0.138, allocations: 19.72 MB / 281 MB, free: 13.04 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_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") [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.002085/0.002085, allocations: 63.91 kB / 417.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2613, allocations: 60.45 MB / 478.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G): time 0.05021/0.3115, allocations: 43.18 MB / 0.5091 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.3258, allocations: 9.883 MB / 0.5187 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.3263, allocations: 19.81 kB / 0.5187 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.3273, allocations: 334 kB / 0.5191 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009579/0.3282, allocations: 485.4 kB / 0.5195 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.3419, allocations: 5.181 MB / 0.5246 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3455, allocations: 3.054 MB / 0.5276 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.3466, allocations: 0.8691 MB / 0.5284 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.3485, allocations: 1.368 MB / 0.5297 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.3505, allocations: 1.414 MB / 0.5311 GB, free: 288 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.3509, allocations: 240 kB / 0.5314 GB, free: 48 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.3628, allocations: 6.326 MB / 0.5375 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.364, allocations: 0.8923 MB / 0.5384 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.3656, allocations: 1.023 MB / 0.5394 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3758, allocations: 6.292 MB / 0.5455 GB, free: 1.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3758, allocations: 0 / 0.5455 GB, free: 1.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.3758, allocations: 3.984 kB / 0.5456 GB, free: 1.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.3758, allocations: 0 / 0.5456 GB, free: 1.477 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01255/0.3884, allocations: 3.704 MB / 0.5492 GB, free: 13.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3884, allocations: 8.031 kB / 0.5492 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.3903, allocations: 383.4 kB / 0.5495 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.3936, allocations: 1.258 MB / 0.5508 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.3938, allocations: 211.7 kB / 0.551 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004659/0.3943, allocations: 199.9 kB / 0.5512 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.4055, allocations: 4.959 MB / 0.556 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.4055, allocations: 4 kB / 0.556 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.4058, allocations: 84 kB / 0.5561 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.4059, allocations: 108.1 kB / 0.5562 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.4192, allocations: 5.396 MB / 0.5615 GB, free: 0.9727 MB / 462.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.01477/0.4339, allocations: 7.377 MB / 0.5687 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006206/0.4401, allocations: 2.152 MB / 0.5708 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.4418, allocations: 0.9199 MB / 0.5717 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1264/0.5683, allocations: 35.1 MB / 0.6059 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006121/0.5744, allocations: 2.1 MB / 0.608 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=137): time 4.959e-06/0.5744, allocations: 4 kB / 0.608 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=137): time 0.03749/0.6119, allocations: 8.577 MB / 0.6164 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.612, allocations: 226.9 kB / 0.6166 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.6141, allocations: 1.404 MB / 0.618 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.6144, allocations: 53.69 kB / 0.618 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.6155, allocations: 1.134 MB / 0.6191 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007404/0.6162, allocations: 0.5232 MB / 0.6196 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.6175, allocations: 0.6968 MB / 0.6203 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.6177, allocations: 341.9 kB / 0.6206 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.6205, allocations: 1.518 MB / 0.6221 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004154/0.6247, allocations: 2.976 MB / 0.625 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03598/0.6607, allocations: 10.75 MB / 0.6355 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.433e-05/0.6607, allocations: 12 kB / 0.6355 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.2313/0.892, allocations: 6.433 MB / 0.6418 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.8921, allocations: 58.98 kB / 0.6419 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.083e-05/0.8922, allocations: 45 kB / 0.6419 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.9022, allocations: 2.559 MB / 0.6444 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.9046, allocations: 0.6831 MB / 0.6451 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.9256, allocations: 14.15 MB / 0.6589 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.9278, allocations: 376.3 kB / 0.6593 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.9281, allocations: 223.9 kB / 0.6595 GB, free: 148.5 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002648/0.9308, allocations: 2.027 MB / 0.6615 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00249/0.9333, allocations: 2.978 MB / 0.6644 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02314/0.9564, allocations: 9.861 MB / 0.674 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.963e-05/0.9564, allocations: 12 kB / 0.674 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.01484/0.9713, allocations: 6.381 MB / 0.6802 GB, free: 126 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/0.9714, allocations: 57.69 kB / 0.6803 GB, free: 126 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/0.9714, allocations: 47.94 kB / 0.6803 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009513/0.9809, allocations: 2.553 MB / 0.6828 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.9831, allocations: 0.6854 MB / 0.6835 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/1.005, allocations: 14.16 MB / 0.6973 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.007, allocations: 293.7 kB / 0.6976 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/1.007, allocations: 223.9 kB / 0.6978 GB, free: 108 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 16 (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,MassFlowRate.nextEventScaled,MassFlowRate.nextEvent,$PRE.MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.b,MassFlowRate.a,$whenCondition1,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 (299): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 1 * 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 {(6,49)} Notification: Performance of prepare postOptimizeDAE: time 0.0009933/1.008, allocations: 458.8 kB / 0.6983 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/1.009, allocations: 159 kB / 0.6984 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.028, allocations: 16.36 MB / 0.7144 GB, free: 91.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.028, allocations: 11.81 kB / 0.7144 GB, free: 91.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.028, allocations: 0 / 0.7144 GB, free: 91.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/1.029, allocations: 385.7 kB / 0.7148 GB, free: 90.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/1.029, allocations: 47.98 kB / 0.7148 GB, free: 90.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.03, allocations: 135.8 kB / 0.7149 GB, free: 90.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/1.031, allocations: 180.8 kB / 0.7151 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009348/1.04, allocations: 4.419 MB / 0.7194 GB, free: 85.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005709/1.046, allocations: 4.834 MB / 0.7241 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001523/1.047, allocations: 1.316 MB / 0.7254 GB, free: 79.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009186/1.048, allocations: 0.8145 MB / 0.7262 GB, free: 78.84 MB / 0.5294 GB Notification: Performance of Backend: time 4.71e-07/1.048, allocations: 0 / 0.7262 GB, free: 78.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.064, allocations: 6.707 MB / 0.7328 GB, free: 72.31 MB / 0.5294 GB Notification: Performance of SimCode: time 0.005505/1.069, allocations: 4.989 MB / 0.7376 GB, free: 67.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.1266/1.196, allocations: 102.7 MB / 0.838 GB, free: 12.49 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.676433113985695] Failed to read output from testmodel.py, exit status != 0: 1.2053539929911494 1.220669808 0.841494082 Calling exit ...