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.001272/0.001272, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001405/0.001405, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.382/1.382, allocations: 207.6 MB / 234.5 MB, free: 10.01 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.3223/0.3223, allocations: 49.56 MB / 336.3 MB, free: 4.129 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.002311/0.002311, allocations: 75.88 kB / 476.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1121, allocations: 62.42 MB / 0.5267 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2176/0.3297, allocations: 15.8 MB / 0.5421 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.3443, allocations: 13.9 MB / 0.5557 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3446, allocations: 1.125 kB / 0.5557 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.345, allocations: 139 kB / 0.5558 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.3457, allocations: 256.4 kB / 0.5561 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.3621, allocations: 5.516 MB / 0.5615 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3636, allocations: 1.04 MB / 0.5625 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.3637, allocations: 14.81 kB / 0.5625 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.3645, allocations: 0.5113 MB / 0.563 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.3651, allocations: 465.2 kB / 0.5634 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3652, allocations: 42.97 kB / 0.5635 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.3778, allocations: 6.365 MB / 0.5697 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.378, allocations: 182.5 kB / 0.5699 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.3784, allocations: 241.8 kB / 0.5701 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.3887, allocations: 3.94 MB / 0.5739 GB, free: 14.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3888, allocations: 0 / 0.5739 GB, free: 14.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3888, allocations: 5 kB / 0.574 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3888, allocations: 0 / 0.574 GB, free: 14.77 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.006807/0.3956, allocations: 1.448 MB / 0.5754 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3956, allocations: 10 kB / 0.5754 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3971, allocations: 167.3 kB / 0.5755 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.3977, allocations: 287.7 kB / 0.5758 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.3981, allocations: 121.8 kB / 0.5759 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3982, allocations: 37.58 kB / 0.576 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/0.4038, allocations: 1.885 MB / 0.5778 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4038, allocations: 5.312 kB / 0.5778 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.4039, allocations: 15.78 kB / 0.5778 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.404, allocations: 11 kB / 0.5778 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007926/0.4119, allocations: 2.647 MB / 0.5804 GB, free: 11.05 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.005749/0.4176, allocations: 4.801 MB / 0.5851 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/0.422, allocations: 1.346 MB / 0.5864 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.4248, allocations: 0.9763 MB / 0.5874 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1652/0.59, allocations: 42.09 MB / 0.6285 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.5901, allocations: 34.89 kB / 0.6285 GB, free: 12.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.5901, allocations: 0 / 0.6285 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.0256/0.6157, allocations: 5.778 MB / 0.6342 GB, free: 6.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.6157, allocations: 59.41 kB / 0.6342 GB, free: 6.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.6159, allocations: 161.5 kB / 0.6344 GB, free: 6.613 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.6161, allocations: 33.7 kB / 0.6344 GB, free: 6.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6162, allocations: 152.8 kB / 0.6345 GB, free: 6.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.6164, allocations: 150.7 kB / 0.6347 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.617, allocations: 225.7 kB / 0.6349 GB, free: 6.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6171, allocations: 334.8 kB / 0.6352 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004221/0.6213, allocations: 1.117 MB / 0.6363 GB, free: 4.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.626, allocations: 1.208 MB / 0.6375 GB, free: 3.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00785/0.6338, allocations: 1.964 MB / 0.6394 GB, free: 1.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6338, allocations: 0 / 0.6394 GB, free: 1.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.009018/0.6429, allocations: 2.335 MB / 0.6417 GB, free: 15.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.6429, allocations: 4 kB / 0.6417 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6429, allocations: 4.875 kB / 0.6417 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6429, allocations: 9.906 kB / 0.6417 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.6459, allocations: 499.5 kB / 0.6422 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.6459, allocations: 11.98 kB / 0.6422 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.6479, allocations: 243.6 kB / 0.6424 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.6481, allocations: 83.86 kB / 0.6425 GB, free: 14.17 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.000475/0.6486, allocations: 178.3 kB / 0.6427 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.6489, allocations: 23.86 kB / 0.6427 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.6625, allocations: 7.438 MB / 0.65 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01231/0.6748, allocations: 6.893 MB / 0.6567 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6748, allocations: 7.438 kB / 0.6567 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6748, allocations: 3.984 kB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.692, allocations: 10.88 MB / 0.6673 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.692, allocations: 0 / 0.6673 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.6948, allocations: 495.2 kB / 0.6678 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.6948, allocations: 4 kB / 0.6678 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.6949, allocations: 47.91 kB / 0.6679 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/0.6949, allocations: 7.938 kB / 0.6679 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6949, allocations: 3.938 kB / 0.6679 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.7079, allocations: 4.539 MB / 0.6723 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/0.7086, allocations: 211.2 kB / 0.6725 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.7088, allocations: 16 kB / 0.6725 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/0.7107, allocations: 255.6 kB / 0.6728 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.7109, allocations: 80.73 kB / 0.6728 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.7111, allocations: 55.91 kB / 0.6729 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001228/0.7112, allocations: 111.2 kB / 0.673 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7112, allocations: 0 / 0.673 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004235/0.7154, allocations: 0.9789 MB / 0.6739 GB, free: 13.59 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.005576/0.721, allocations: 0.9939 MB / 0.6749 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008991/0.73, allocations: 2.623 MB / 0.6775 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.73, allocations: 0 / 0.6775 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004307/0.7343, allocations: 1.412 MB / 0.6789 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.7352, allocations: 103.8 kB / 0.679 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.7409, allocations: 2.196 MB / 0.6811 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.7414, allocations: 0.9282 MB / 0.682 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002403/0.7438, allocations: 1.286 MB / 0.6833 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.7447, allocations: 163.1 kB / 0.6834 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7447, allocations: 0 / 0.6834 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of Templates: time 0.07079/0.8155, allocations: 44.85 MB / 0.7272 GB, free: 6.898 MB / 0.5606 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: 30.370941658504307] Failed to read output from testmodel.py, exit status != 0: 0.8248435351997614 0.839960827 0.44791701199999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f47f843d7b0>