Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.001712/0.001712, allocations: 78.17 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.002026/0.002026, allocations: 156.4 kB / 24.54 MB, free: 3.832 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.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 9.297 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.1429/0.1429, allocations: 19.71 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.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") [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.002093/0.002093, allocations: 67.91 kB / 417.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2649, allocations: 60.45 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.04777/0.3127, allocations: 39.02 MB / 0.505 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.3318, allocations: 13.07 MB / 0.5178 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.3323, allocations: 19.81 kB / 0.5178 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.3331, allocations: 246.4 kB / 0.518 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.3454, allocations: 4.717 MB / 0.5226 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.3485, allocations: 1.1 MB / 0.5237 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3506, allocations: 1.703 MB / 0.5254 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.3514, allocations: 0.4908 MB / 0.5259 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.3529, allocations: 0.8531 MB / 0.5267 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.354, allocations: 0.6499 MB / 0.5273 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.3542, allocations: 80 kB / 0.5274 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.3661, allocations: 6.029 MB / 0.5333 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.3666, allocations: 382.8 kB / 0.5336 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.3674, allocations: 493.9 kB / 0.5341 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007965/0.3753, allocations: 4.563 MB / 0.5386 GB, free: 8.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3753, allocations: 3.938 kB / 0.5386 GB, free: 8.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3753, allocations: 0 / 0.5386 GB, free: 8.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.3754, allocations: 0 / 0.5386 GB, free: 8.68 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005186/0.3806, allocations: 1.831 MB / 0.5404 GB, free: 6.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3806, allocations: 12.03 kB / 0.5404 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3821, allocations: 264.1 kB / 0.5406 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3834, allocations: 0.6175 MB / 0.5412 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3836, allocations: 126 kB / 0.5414 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3837, allocations: 100.1 kB / 0.5414 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.3895, allocations: 2.392 MB / 0.5438 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3895, allocations: 4 kB / 0.5438 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/0.3896, allocations: 44 kB / 0.5438 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/0.3897, allocations: 45.98 kB / 0.5439 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005791/0.3955, allocations: 2.291 MB / 0.5461 GB, free: 0.8438 MB / 446.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.005852/0.4013, allocations: 3.156 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/0.4054, allocations: 1.361 MB / 0.5505 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.4059, allocations: 342.6 kB / 0.5508 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1224/0.5284, allocations: 35.09 MB / 0.5851 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5284, allocations: 39.22 kB / 0.5852 GB, free: 8.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=67): time 3.076e-06/0.5284, allocations: 3.938 kB / 0.5852 GB, free: 8.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.01009/0.5385, allocations: 2.727 MB / 0.5878 GB, free: 6.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5386, allocations: 60.06 kB / 0.5879 GB, free: 5.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.5392, allocations: 477.7 kB / 0.5883 GB, free: 5.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5393, allocations: 37.7 kB / 0.5884 GB, free: 5.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.5397, allocations: 436.3 kB / 0.5888 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.54, allocations: 257.8 kB / 0.589 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/0.5405, allocations: 274.4 kB / 0.5893 GB, free: 4.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5407, allocations: 370.7 kB / 0.5896 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.5418, allocations: 0.6332 MB / 0.5903 GB, free: 3.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.5432, allocations: 0.7764 MB / 0.591 GB, free: 2.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.5456, allocations: 1.346 MB / 0.5923 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.5456, allocations: 4 kB / 0.5923 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004703/0.5503, allocations: 2.246 MB / 0.5945 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5503, allocations: 8 kB / 0.5945 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5503, allocations: 4 kB / 0.5945 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004205/0.5545, allocations: 1.726 MB / 0.5962 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.5549, allocations: 91.83 kB / 0.5963 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/0.5593, allocations: 2.396 MB / 0.5987 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.5601, allocations: 75.55 kB / 0.5987 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.5603, allocations: 87.91 kB / 0.5988 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001575/0.5619, allocations: 0.8688 MB / 0.5997 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/0.5631, allocations: 0.7733 MB / 0.6004 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002342/0.5655, allocations: 1.343 MB / 0.6017 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.5655, allocations: 0 / 0.6017 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00433/0.5698, allocations: 2.184 MB / 0.6039 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5698, allocations: 12.02 kB / 0.6039 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5698, allocations: 4 kB / 0.6039 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/0.5739, allocations: 1.73 MB / 0.6056 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.5743, allocations: 83.89 kB / 0.6056 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.5786, allocations: 2.396 MB / 0.608 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.5794, allocations: 67.61 kB / 0.608 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.5796, allocations: 91.84 kB / 0.6081 GB, free: 0.8867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.friction.NoFriction) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.58, allocations: 226.8 kB / 0.6084 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.5802, allocations: 71.61 kB / 0.6084 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5928, allocations: 10.79 MB / 0.619 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.5928, allocations: 7.922 kB / 0.619 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5928, allocations: 0 / 0.619 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.5932, allocations: 163 kB / 0.6191 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5934, allocations: 20.23 kB / 0.6191 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.5942, allocations: 91.84 kB / 0.6192 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5944, allocations: 60.52 kB / 0.6193 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003843/0.5982, allocations: 1.698 MB / 0.6209 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003558/0.6018, allocations: 2.325 MB / 0.6232 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009441/0.6027, allocations: 0.5836 MB / 0.6238 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004153/0.6032, allocations: 319.1 kB / 0.6241 GB, free: 500 kB / 0.5137 GB Notification: Performance of Backend: time 2.61e-07/0.6032, allocations: 0 / 0.6241 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009002/0.6122, allocations: 3.09 MB / 0.6271 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003819/0.616, allocations: 2.577 MB / 0.6296 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.2619/0.8779, allocations: 62.08 MB / 0.6903 GB, free: 120.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.16841189796105] Failed to read output from testmodel.py, exit status != 0: 0.8865889969747514 0.895564076 0.517804567 Calling exit ...