Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.001784/0.001784, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002252/0.002252, allocations: 157.7 kB / 24.26 MB, free: 172 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.535/1.535, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.3036/0.3036, allocations: 36.35 MB / 274.7 MB, free: 10.71 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.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.129e-05, allocations: 2.312 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.3034/0.3034, allocations: 95.61 MB / 448.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3169, allocations: 10.43 MB / 459.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008212/0.3178, allocations: 32.5 kB / 459.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.3193, allocations: 0.5279 MB / 459.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.3205, allocations: 0.6701 MB / 460.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.3351, allocations: 5.768 MB / 466.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.3376, allocations: 1.881 MB / 468 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.3386, allocations: 0.5738 MB / 468.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.34, allocations: 0.9662 MB / 469.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007138/0.3407, allocations: 0.5968 MB / 470.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3408, allocations: 78.75 kB / 470.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.3522, allocations: 6.151 MB / 476.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.3526, allocations: 200.9 kB / 476.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.3533, allocations: 340.6 kB / 476.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.3638, allocations: 5.43 MB / 482.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3638, allocations: 3.938 kB / 482.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3638, allocations: 0 / 482.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3638, allocations: 0 / 482.3 MB, free: 10.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004509/0.3683, allocations: 1.803 MB / 484.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3684, allocations: 8.719 kB / 484.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.3689, allocations: 210.6 kB / 484.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.3696, allocations: 495.6 kB / 484.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3697, allocations: 50.41 kB / 484.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/0.3698, allocations: 64.31 kB / 484.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.3719, allocations: 0.9628 MB / 485.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3719, allocations: 3.938 kB / 485.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.372, allocations: 29.77 kB / 485.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.372, allocations: 17.12 kB / 485.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.3743, allocations: 0.7877 MB / 486.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.3773, allocations: 2.602 MB / 489.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.3797, allocations: 0.707 MB / 490 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.3806, allocations: 285.5 kB / 490.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05989/0.4404, allocations: 16.82 MB / 0.4952 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.4423, allocations: 0.5451 MB / 0.4958 GB, free: 4.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.465e-06/0.4423, allocations: 4 kB / 0.4958 GB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.00442/0.4468, allocations: 1.16 MB / 0.4969 GB, free: 2.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.4468, allocations: 89.09 kB / 0.497 GB, free: 2.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.4475, allocations: 434.1 kB / 0.4974 GB, free: 2.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.4475, allocations: 37.7 kB / 0.4974 GB, free: 2.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.4479, allocations: 368.6 kB / 0.4978 GB, free: 2.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4481, allocations: 148.2 kB / 0.4979 GB, free: 1.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.4483, allocations: 94.12 kB / 0.498 GB, free: 1.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.4485, allocations: 366.8 kB / 0.4984 GB, free: 1.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.4496, allocations: 385.4 kB / 0.4987 GB, free: 1.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4509, allocations: 460.8 kB / 0.4992 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.453, allocations: 0.6669 MB / 0.4998 GB, free: 15.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.453, allocations: 0 / 0.4998 GB, free: 15.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002686/0.4557, allocations: 0.9703 MB / 0.5008 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.4559, allocations: 122.8 kB / 0.5009 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4559, allocations: 0 / 0.5009 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4559, allocations: 4 kB / 0.5009 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.4566, allocations: 135.1 kB / 0.501 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4566, allocations: 7.984 kB / 0.501 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.4574, allocations: 99.58 kB / 0.5011 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.4574, allocations: 23.98 kB / 0.5012 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.4587, allocations: 491.7 kB / 0.5016 GB, free: 13.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.4601, allocations: 453.8 kB / 0.5021 GB, free: 13.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001918/0.462, allocations: 0.6632 MB / 0.5027 GB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.462, allocations: 0 / 0.5027 GB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00253/0.4645, allocations: 0.9321 MB / 0.5036 GB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.4646, allocations: 122.7 kB / 0.5037 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4646, allocations: 7.984 kB / 0.5037 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.4647, allocations: 4 kB / 0.5037 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.4653, allocations: 130.5 kB / 0.5039 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.4653, allocations: 15.17 kB / 0.5039 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.466, allocations: 87.75 kB / 0.504 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.466, allocations: 20 kB / 0.504 GB, free: 11.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0002894/0.4663, allocations: 217.3 kB / 0.5042 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4665, allocations: 82.84 kB / 0.5043 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.4702, allocations: 1.91 MB / 0.5061 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/0.4703, allocations: 29.72 kB / 0.5062 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4703, allocations: 0 / 0.5062 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4703, allocations: 7.984 kB / 0.5062 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.4736, allocations: 1.846 MB / 0.508 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4736, allocations: 7.188 kB / 0.508 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.4742, allocations: 119.1 kB / 0.5081 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.4742, allocations: 4 kB / 0.5081 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.4743, allocations: 11.98 kB / 0.5081 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4743, allocations: 0 / 0.5081 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4743, allocations: 4 kB / 0.5081 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.4774, allocations: 1.239 MB / 0.5093 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.4777, allocations: 135 kB / 0.5095 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/0.4778, allocations: 11.98 kB / 0.5095 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/0.4785, allocations: 75.89 kB / 0.5095 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.4788, allocations: 87.88 kB / 0.5096 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.4788, allocations: 16 kB / 0.5096 GB, free: 5.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004083/0.4792, allocations: 294.9 kB / 0.5099 GB, free: 5.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4792, allocations: 4 kB / 0.5099 GB, free: 5.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003706/0.4829, allocations: 1.15 MB / 0.511 GB, free: 4.051 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.004385/0.4873, allocations: 1.107 MB / 0.5121 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004204/0.4915, allocations: 1.741 MB / 0.5138 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4915, allocations: 0 / 0.5138 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.493, allocations: 0.5037 MB / 0.5143 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4946, allocations: 288.5 kB / 0.5146 GB, free: 396 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.4982, allocations: 1.735 MB / 0.5163 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.4987, allocations: 424.4 kB / 0.5167 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009188/0.4996, allocations: 398.4 kB / 0.5171 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.4999, allocations: 60.5 kB / 0.5171 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4999, allocations: 0 / 0.5171 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Templates: time 0.07075/0.5706, allocations: 40.83 MB / 0.557 GB, free: 4.941 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.04390395898372]