Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 120.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 190.7 kB / 21.4 MB, free: 1.66 MB / 14.72 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 1.556/1.556, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4377/0.4377, allocations: 49.51 MB / 333.2 MB, free: 0.7227 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 66.81 kB / 472.1 MB, free: 40.68 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 62.33 MB / 0.5219 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01934/0.1352, allocations: 15.74 MB / 0.5372 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.1532, allocations: 13.85 MB / 0.5508 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1534, allocations: 4 kB / 0.5508 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.154, allocations: 131.2 kB / 0.5509 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008517/0.1548, allocations: 250.6 kB / 0.5511 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01515/0.17, allocations: 5.502 MB / 0.5565 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1715, allocations: 1.038 MB / 0.5575 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.1715, allocations: 28.73 kB / 0.5576 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.1724, allocations: 0.4986 MB / 0.558 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.1731, allocations: 470.8 kB / 0.5585 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1732, allocations: 40 kB / 0.5585 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/0.1864, allocations: 6.36 MB / 0.5647 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.1867, allocations: 183.6 kB / 0.5649 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.1871, allocations: 239.1 kB / 0.5651 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009197/0.1963, allocations: 3.937 MB / 0.569 GB, free: 1.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1963, allocations: 3.938 kB / 0.569 GB, free: 1.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1963, allocations: 0 / 0.569 GB, free: 1.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1963, allocations: 0 / 0.569 GB, free: 1.328 MB / 430.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.005635/0.202, allocations: 1.53 MB / 0.5705 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.202, allocations: 15.95 kB / 0.5705 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2034, allocations: 160.6 kB / 0.5707 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.204, allocations: 339.9 kB / 0.571 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.2043, allocations: 130.8 kB / 0.5711 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2044, allocations: 32.12 kB / 0.5711 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/0.2096, allocations: 1.88 MB / 0.573 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2096, allocations: 0 / 0.573 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2097, allocations: 12 kB / 0.573 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.2097, allocations: 12.56 kB / 0.573 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007575/0.2173, allocations: 2.652 MB / 0.5756 GB, free: 10.44 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.005317/0.2226, allocations: 4.828 MB / 0.5803 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.2268, allocations: 1.342 MB / 0.5816 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.2294, allocations: 0.9771 MB / 0.5826 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3921/0.6215, allocations: 76.33 MB / 0.6571 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.6215, allocations: 41.58 kB / 0.6571 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.6215, allocations: 0 / 0.6571 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02113/0.6427, allocations: 5.851 MB / 0.6629 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.6427, allocations: 57.91 kB / 0.6629 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6428, allocations: 149.7 kB / 0.6631 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6429, allocations: 35.58 kB / 0.6631 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.643, allocations: 151.8 kB / 0.6632 GB, free: 110 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.6432, allocations: 152.1 kB / 0.6634 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/0.6436, allocations: 224.2 kB / 0.6636 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.6436, allocations: 336 kB / 0.6639 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.647, allocations: 1.117 MB / 0.665 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.6504, allocations: 1.214 MB / 0.6662 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006321/0.6567, allocations: 1.976 MB / 0.6681 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6567, allocations: 0 / 0.6681 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007148/0.6638, allocations: 2.333 MB / 0.6704 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6638, allocations: 8.062 kB / 0.6704 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.6639, allocations: 5.875 kB / 0.6704 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.6639, allocations: 4 kB / 0.6704 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.6663, allocations: 491.2 kB / 0.6709 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6663, allocations: 11.92 kB / 0.6709 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.668, allocations: 255.6 kB / 0.6711 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.6682, allocations: 79.86 kB / 0.6712 GB, free: 102.4 MB / 0.4981 GB 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.0003554/0.6685, allocations: 172.1 kB / 0.6714 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6688, allocations: 23.86 kB / 0.6714 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009112/0.6779, allocations: 7.121 MB / 0.6784 GB, free: 95.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008118/0.686, allocations: 6.561 MB / 0.6848 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.686, allocations: 0 / 0.6848 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.686, allocations: 7.922 kB / 0.6848 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.697, allocations: 10.45 MB / 0.695 GB, free: 77.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.697, allocations: 4 kB / 0.695 GB, free: 77.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/0.6993, allocations: 499 kB / 0.6954 GB, free: 77.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.6993, allocations: 7.938 kB / 0.6955 GB, free: 77.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6994, allocations: 51.66 kB / 0.6955 GB, free: 77.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6994, allocations: 4 kB / 0.6955 GB, free: 77.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6994, allocations: 4 kB / 0.6955 GB, free: 77.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009991/0.7094, allocations: 4.5 MB / 0.6999 GB, free: 72.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.7098, allocations: 287.1 kB / 0.7002 GB, free: 72.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.71, allocations: 19.98 kB / 0.7002 GB, free: 72.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.7115, allocations: 255.7 kB / 0.7004 GB, free: 72.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.7117, allocations: 76.84 kB / 0.7005 GB, free: 72.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.7118, allocations: 51.91 kB / 0.7006 GB, free: 72.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.7119, allocations: 107.9 kB / 0.7007 GB, free: 71.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7119, allocations: 0 / 0.7007 GB, free: 71.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002524/0.7144, allocations: 0.9802 MB / 0.7016 GB, free: 71.01 MB / 0.4981 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.002967/0.7174, allocations: 0.9853 MB / 0.7026 GB, free: 70.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006778/0.7241, allocations: 2.615 MB / 0.7051 GB, free: 67.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.7241, allocations: 0 / 0.7051 GB, free: 67.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.7273, allocations: 1.392 MB / 0.7065 GB, free: 66.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.7281, allocations: 108.4 kB / 0.7066 GB, free: 66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.7324, allocations: 2.203 MB / 0.7088 GB, free: 63.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.7326, allocations: 0.9226 MB / 0.7097 GB, free: 62.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/0.7335, allocations: 183.1 kB / 0.7098 GB, free: 62.64 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.7335, allocations: 0 / 0.7098 GB, free: 62.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.02942/0.763, allocations: 28.31 MB / 0.7375 GB, free: 34.31 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.66156770917587] Failed to read output from testmodel.py, exit status != 0: 0.7702616821043193 0.778555751 0.5801024739999999 Calling exit ...