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.00156/0.00156, allocations: 114.2 kB / 19.04 MB, free: 3.277 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.001349/0.001349, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 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.357/1.357, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.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.2903/0.2903, allocations: 49.51 MB / 334.4 MB, free: 4.684 MB / 270.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.003775/0.003775, allocations: 75.88 kB / 474.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1217, allocations: 62.33 MB / 0.5241 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2237/0.3454, allocations: 15.79 MB / 0.5395 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3588, allocations: 13.9 MB / 0.5531 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.359, allocations: 1.188 kB / 0.5531 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.3594, allocations: 136.2 kB / 0.5532 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.3601, allocations: 253 kB / 0.5535 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.3768, allocations: 5.503 MB / 0.5588 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3785, allocations: 1.027 MB / 0.5598 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.3786, allocations: 14.42 kB / 0.5599 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009177/0.3795, allocations: 0.5109 MB / 0.5604 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.3801, allocations: 469.2 kB / 0.5608 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.3802, allocations: 42.19 kB / 0.5608 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.3924, allocations: 6.362 MB / 0.5671 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.3926, allocations: 185.2 kB / 0.5672 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.3931, allocations: 247.2 kB / 0.5675 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008281/0.4013, allocations: 3.928 MB / 0.5713 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4013, allocations: 0 / 0.5713 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4013, allocations: 4 kB / 0.5713 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.4014, allocations: 2 kB / 0.5713 GB, free: 15.73 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.005695/0.407, allocations: 1.523 MB / 0.5728 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4071, allocations: 8.375 kB / 0.5728 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.4085, allocations: 159.7 kB / 0.573 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.4091, allocations: 356.2 kB / 0.5733 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.4094, allocations: 130.6 kB / 0.5734 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4096, allocations: 32.56 kB / 0.5734 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.4147, allocations: 1.881 MB / 0.5753 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4147, allocations: 9.156 kB / 0.5753 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.4148, allocations: 15.56 kB / 0.5753 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.4148, allocations: 11.34 kB / 0.5753 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.4222, allocations: 2.643 MB / 0.5779 GB, free: 11.84 MB / 430.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.005406/0.4276, allocations: 4.844 MB / 0.5826 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.4316, allocations: 1.337 MB / 0.5839 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.4341, allocations: 0.9731 MB / 0.5849 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1694/0.6035, allocations: 76.34 MB / 0.6594 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.6036, allocations: 42.83 kB / 0.6595 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.996e-06/0.6036, allocations: 0 / 0.6595 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02339/0.627, allocations: 5.855 MB / 0.6652 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.627, allocations: 55.41 kB / 0.6652 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.6272, allocations: 165.5 kB / 0.6654 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6273, allocations: 29.7 kB / 0.6654 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6274, allocations: 156.9 kB / 0.6656 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6276, allocations: 150.7 kB / 0.6657 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.6282, allocations: 229.8 kB / 0.6659 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6283, allocations: 334.8 kB / 0.6663 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/0.6321, allocations: 1.113 MB / 0.6674 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.636, allocations: 1.208 MB / 0.6685 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007082/0.643, allocations: 1.964 MB / 0.6705 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.643, allocations: 0 / 0.6705 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008154/0.6512, allocations: 2.339 MB / 0.6727 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6512, allocations: 4 kB / 0.6727 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6512, allocations: 4 kB / 0.6727 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.6513, allocations: 4 kB / 0.6727 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.654, allocations: 495.5 kB / 0.6732 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.654, allocations: 4 kB / 0.6732 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.6558, allocations: 255.6 kB / 0.6735 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.656, allocations: 84.92 kB / 0.6735 GB, free: 4.379 MB / 0.5137 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.0004016/0.6565, allocations: 177.7 kB / 0.6737 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.6567, allocations: 27.8 kB / 0.6737 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.6692, allocations: 7.112 MB / 0.6807 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0111/0.6803, allocations: 6.557 MB / 0.6871 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6803, allocations: 4 kB / 0.6871 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6803, allocations: 3.984 kB / 0.6871 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.6963, allocations: 10.46 MB / 0.6973 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6963, allocations: 0 / 0.6973 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/0.6989, allocations: 0.4914 MB / 0.6978 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.6989, allocations: 4 kB / 0.6978 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.6991, allocations: 52.66 kB / 0.6978 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.6991, allocations: 4 kB / 0.6978 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6991, allocations: 3.938 kB / 0.6979 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.7107, allocations: 4.496 MB / 0.7022 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.7113, allocations: 284.2 kB / 0.7025 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.7114, allocations: 12 kB / 0.7025 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.7131, allocations: 263.3 kB / 0.7028 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.7133, allocations: 76.78 kB / 0.7028 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.7135, allocations: 55.91 kB / 0.7029 GB, free: 5.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001007/0.7136, allocations: 111.2 kB / 0.703 GB, free: 5.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7136, allocations: 4 kB / 0.703 GB, free: 5.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003359/0.7169, allocations: 0.9789 MB / 0.704 GB, free: 4.809 MB / 0.545 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.003934/0.7209, allocations: 0.9833 MB / 0.7049 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007929/0.7288, allocations: 2.615 MB / 0.7075 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7288, allocations: 0 / 0.7075 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/0.7326, allocations: 1.396 MB / 0.7088 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.7334, allocations: 116.2 kB / 0.709 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.7387, allocations: 2.183 MB / 0.7111 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.7393, allocations: 0.9243 MB / 0.712 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002339/0.7416, allocations: 1.286 MB / 0.7132 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/0.7424, allocations: 163.2 kB / 0.7134 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.7424, allocations: 0 / 0.7134 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.06653/0.8089, allocations: 44.49 MB / 0.7568 GB, free: 14.51 MB / 0.6075 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: 29.08520413003862]