Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001594/0.001594, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1479/0.1479, allocations: 26.84 MB / 340.7 MB, free: 7.98 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.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [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.002133/0.002133, allocations: 79.89 kB / 477.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2852, allocations: 60.47 MB / 0.5253 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.0147/0.2999, allocations: 14.43 MB / 0.5394 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.3162, allocations: 12.16 MB / 0.5512 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.3164, allocations: 1.281 kB / 0.5512 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.3169, allocations: 116.3 kB / 0.5514 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000665/0.3175, allocations: 233 kB / 0.5516 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01534/0.3329, allocations: 5.485 MB / 0.5569 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3342, allocations: 1.039 MB / 0.558 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.3343, allocations: 17.86 kB / 0.558 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008375/0.3351, allocations: 0.4903 MB / 0.5584 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.3358, allocations: 455.4 kB / 0.5589 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.336, allocations: 42.12 kB / 0.5589 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.3484, allocations: 6.115 MB / 0.5649 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.3488, allocations: 183.6 kB / 0.5651 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.3493, allocations: 227.3 kB / 0.5653 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009702/0.359, allocations: 3.937 MB / 0.5691 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.359, allocations: 0 / 0.5691 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.359, allocations: 0 / 0.5691 GB, free: 7.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.359, allocations: 3.938 kB / 0.5691 GB, free: 7.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005058/0.3641, allocations: 1.462 MB / 0.5706 GB, free: 6.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3641, allocations: 12.03 kB / 0.5706 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.3668, allocations: 356.4 kB / 0.5709 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.3675, allocations: 294 kB / 0.5712 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.3679, allocations: 314.7 kB / 0.5715 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3681, allocations: 36.12 kB / 0.5715 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/0.3731, allocations: 1.976 MB / 0.5735 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3731, allocations: 3.938 kB / 0.5735 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.3732, allocations: 16 kB / 0.5735 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.3733, allocations: 16.64 kB / 0.5735 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.3806, allocations: 2.636 MB / 0.5761 GB, free: 0.4961 MB / 414.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.004897/0.3855, allocations: 3.754 MB / 0.5797 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/0.3896, allocations: 1.326 MB / 0.581 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.3923, allocations: 0.9886 MB / 0.582 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/0.5522, allocations: 43.98 MB / 0.6249 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.5523, allocations: 38.89 kB / 0.625 GB, free: 13.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.5523, allocations: 0 / 0.625 GB, free: 13.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02368/0.576, allocations: 5.781 MB / 0.6306 GB, free: 8.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.576, allocations: 55.41 kB / 0.6307 GB, free: 8.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.5762, allocations: 160.3 kB / 0.6308 GB, free: 7.906 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.5763, allocations: 33.7 kB / 0.6309 GB, free: 7.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5764, allocations: 152.8 kB / 0.631 GB, free: 7.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.5767, allocations: 154.7 kB / 0.6312 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.5771, allocations: 229.8 kB / 0.6314 GB, free: 7.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5773, allocations: 330.8 kB / 0.6317 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00381/0.5811, allocations: 1.117 MB / 0.6328 GB, free: 5.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.5851, allocations: 1.208 MB / 0.634 GB, free: 4.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007289/0.5923, allocations: 1.98 MB / 0.6359 GB, free: 2.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5923, allocations: 0 / 0.6359 GB, free: 2.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008193/0.6005, allocations: 2.327 MB / 0.6382 GB, free: 296 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6006, allocations: 8 kB / 0.6382 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6006, allocations: 4 kB / 0.6382 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6006, allocations: 4 kB / 0.6382 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.6032, allocations: 0.4916 MB / 0.6387 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6032, allocations: 4 kB / 0.6387 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.605, allocations: 251.6 kB / 0.6389 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.6052, allocations: 79.86 kB / 0.639 GB, free: 15.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004741/0.6057, allocations: 177.6 kB / 0.6392 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.6059, allocations: 23.86 kB / 0.6392 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.6187, allocations: 7.436 MB / 0.6464 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01162/0.6303, allocations: 6.889 MB / 0.6532 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6303, allocations: 0 / 0.6532 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6303, allocations: 7.969 kB / 0.6532 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.6464, allocations: 10.63 MB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6464, allocations: 4 kB / 0.6636 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.6489, allocations: 499.2 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.6489, allocations: 4 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.649, allocations: 47.91 kB / 0.6641 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.649, allocations: 0 / 0.6641 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.649, allocations: 4 kB / 0.6641 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.6607, allocations: 4.543 MB / 0.6685 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.6613, allocations: 203.1 kB / 0.6687 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.6615, allocations: 16 kB / 0.6687 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.6631, allocations: 251.7 kB / 0.669 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.6633, allocations: 80.8 kB / 0.669 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.6635, allocations: 59.78 kB / 0.6691 GB, free: 236 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.6635, allocations: 111.2 kB / 0.6692 GB, free: 124 kB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6635, allocations: 0 / 0.6692 GB, free: 124 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002662/0.6662, allocations: 0.9828 MB / 0.6702 GB, free: 15.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * 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.00337/0.6696, allocations: 1.007 MB / 0.6712 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007914/0.6775, allocations: 2.619 MB / 0.6737 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6775, allocations: 4 kB / 0.6737 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/0.6813, allocations: 1.408 MB / 0.6751 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.6821, allocations: 103.8 kB / 0.6752 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.6874, allocations: 2.184 MB / 0.6773 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6877, allocations: 337.7 kB / 0.6776 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002277/0.69, allocations: 1.294 MB / 0.6789 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/0.6907, allocations: 155.2 kB / 0.6791 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.6907, allocations: 0 / 0.6791 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of Templates: time 0.06206/0.7528, allocations: 45.16 MB / 0.7232 GB, free: 8.859 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 29.85840397514403] Failed to read output from testmodel.py, exit status != 0: 0.7616428323090076 0.94286027 0.5813092289999999 Calling exit ...