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.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.001492/0.001492, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 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.001624/0.001624, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.427/1.427, allocations: 158.6 MB / 186.1 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3014/0.3014, allocations: 36.35 MB / 274.7 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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: Performance of FrontEnd - loaded program: time 3.858e-06/3.858e-06, allocations: 4 kB / 353.2 MB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/4.216e-05, allocations: 2.312 kB / 353.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02069/0.02073, allocations: 14.3 MB / 367.5 MB, free: 10 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.039, allocations: 12.16 MB / 379.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.03916, allocations: 3.938 kB / 379.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.03962, allocations: 119.2 kB / 379.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.04031, allocations: 246.4 kB / 380 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01629/0.0566, allocations: 5.527 MB / 385.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.05816, allocations: 1.049 MB / 386.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.05822, allocations: 24.88 kB / 386.6 MB, free: 6.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.05936, allocations: 0.5884 MB / 387.2 MB, free: 6.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007896/0.06014, allocations: 443.1 kB / 387.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.06025, allocations: 40 kB / 387.7 MB, free: 5.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/0.07438, allocations: 6.113 MB / 393.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005471/0.07492, allocations: 187.5 kB / 394 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.07582, allocations: 203.6 kB / 394.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.09059, allocations: 5.012 MB / 399.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.0906, allocations: 4 kB / 399.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.09061, allocations: 0 / 399.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.09063, allocations: 0 / 399.2 MB, free: 10.22 MB / 378.7 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.006612/0.09724, allocations: 1.447 MB / 400.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.09728, allocations: 8.031 kB / 400.6 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.09899, allocations: 275.8 kB / 400.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.09965, allocations: 305.2 kB / 401.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/0.1002, allocations: 314.7 kB / 401.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1004, allocations: 40.31 kB / 401.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005536/0.1059, allocations: 1.977 MB / 403.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1059, allocations: 3.938 kB / 403.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.106, allocations: 20 kB / 403.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.1061, allocations: 12.66 kB / 403.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/0.114, allocations: 2.586 MB / 406.1 MB, free: 3.082 MB / 378.7 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.005561/0.1196, allocations: 3.767 MB / 409.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.1241, allocations: 1.361 MB / 411.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/0.127, allocations: 0.9771 MB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1535/0.2805, allocations: 42.22 MB / 454.5 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/0.2806, allocations: 42.88 kB / 454.5 MB, free: 2.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.2806, allocations: 0 / 454.5 MB, free: 2.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.02435/0.305, allocations: 5.864 MB / 460.4 MB, free: 12.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.305, allocations: 63.34 kB / 460.4 MB, free: 12.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3052, allocations: 156.7 kB / 460.6 MB, free: 12.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.3054, allocations: 33.7 kB / 460.6 MB, free: 12.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3055, allocations: 152.9 kB / 460.8 MB, free: 11.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.3058, allocations: 146.7 kB / 460.9 MB, free: 11.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.3063, allocations: 225.9 kB / 461.1 MB, free: 11.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3065, allocations: 330.8 kB / 461.5 MB, free: 11.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.3104, allocations: 1.121 MB / 462.6 MB, free: 10.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.3145, allocations: 1.212 MB / 463.8 MB, free: 8.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007371/0.3218, allocations: 1.98 MB / 465.8 MB, free: 6.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3218, allocations: 7.938 kB / 465.8 MB, free: 6.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008738/0.3306, allocations: 2.362 MB / 468.1 MB, free: 4.445 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3306, allocations: 8 kB / 468.2 MB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3306, allocations: 4 kB / 468.2 MB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3306, allocations: 8.312 kB / 468.2 MB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.3334, allocations: 491.2 kB / 468.6 MB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3334, allocations: 4 kB / 468.6 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.3353, allocations: 251.6 kB / 468.9 MB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.3355, allocations: 79.86 kB / 469 MB, free: 3.617 MB / 442.7 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.0004626/0.336, allocations: 173.7 kB / 469.1 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.3364, allocations: 39.84 kB / 469.2 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1552/0.4915, allocations: 7.28 MB / 476.5 MB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008868/0.5004, allocations: 6.76 MB / 483.2 MB, free: 151.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5004, allocations: 0 / 483.2 MB, free: 151.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5004, allocations: 7.047 kB / 483.2 MB, free: 151.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.5124, allocations: 10.45 MB / 493.7 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5124, allocations: 1.562 kB / 493.7 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/0.5148, allocations: 499 kB / 494.2 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5149, allocations: 3.031 kB / 494.2 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.515, allocations: 44.14 kB / 494.2 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.515, allocations: 3.062 kB / 494.2 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.515, allocations: 0 / 494.2 MB, free: 147 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.5258, allocations: 4.376 MB / 498.6 MB, free: 145.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.5263, allocations: 192.1 kB / 498.8 MB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.5265, allocations: 21.86 kB / 498.8 MB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.5281, allocations: 255.2 kB / 499 MB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.5283, allocations: 74.47 kB / 499.1 MB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.5284, allocations: 55.86 kB / 499.2 MB, free: 145.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.5285, allocations: 109 kB / 499.3 MB, free: 145.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5285, allocations: 0 / 499.3 MB, free: 145.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002738/0.5312, allocations: 0.9806 MB / 0.4885 GB, free: 145.6 MB / 442.7 MB 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: 6 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003516/0.5347, allocations: 1.096 MB / 0.4896 GB, free: 145.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006853/0.5416, allocations: 2.573 MB / 0.4921 GB, free: 144.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5416, allocations: 0 / 0.4921 GB, free: 144.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.5449, allocations: 1.354 MB / 0.4934 GB, free: 143.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.5457, allocations: 186 kB / 0.4936 GB, free: 143.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.5502, allocations: 2.029 MB / 0.4956 GB, free: 142.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.5505, allocations: 304.2 kB / 0.4959 GB, free: 141.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001919/0.5524, allocations: 1.291 MB / 0.4972 GB, free: 141.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/0.5532, allocations: 157.2 kB / 0.4973 GB, free: 141 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5532, allocations: 0 / 0.4973 GB, free: 141 MB / 442.7 MB Notification: Performance of Templates: time 0.04407/0.5972, allocations: 44.39 MB / 0.5407 GB, free: 97.43 MB / 442.7 MB " [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: 8.072252703947015]