Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.001806/0.001806, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00206/0.00206, allocations: 165.3 kB / 24.27 MB, free: 156 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.398/1.398, allocations: 158.6 MB / 186.1 MB, free: 2.895 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.3074/0.3074, allocations: 36.34 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.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.161e-05, allocations: 10.31 kB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.05599/0.05602, allocations: 40.91 MB / 394 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.08004, allocations: 14.95 MB / 409 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.08058, allocations: 15.88 kB / 409 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008375/0.08141, allocations: 214.4 kB / 409.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01568/0.0971, allocations: 4.735 MB / 413.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004734/0.1018, allocations: 1.267 MB / 415.2 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.105, allocations: 1.589 MB / 416.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1063, allocations: 474.8 kB / 417.2 MB, free: 3.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.108, allocations: 0.7559 MB / 418 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.1091, allocations: 0.561 MB / 418.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1093, allocations: 76 kB / 418.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.1245, allocations: 6.032 MB / 424.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.1251, allocations: 379 kB / 425 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.1259, allocations: 387.2 kB / 425.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.1404, allocations: 5.409 MB / 430.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1404, allocations: 4 kB / 430.8 MB, free: 5.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1404, allocations: 4 kB / 430.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1404, allocations: 0 / 430.8 MB, free: 5.766 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.005585/0.146, allocations: 1.892 MB / 432.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1461, allocations: 12.03 kB / 432.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.1477, allocations: 419.6 kB / 433.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.1492, allocations: 0.565 MB / 433.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.1492, allocations: 70.38 kB / 433.8 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.1494, allocations: 88.33 kB / 433.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/0.1551, allocations: 2.199 MB / 436.1 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1551, allocations: 192 / 436.1 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.1552, allocations: 35.94 kB / 436.1 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.438e-05/0.1553, allocations: 45.98 kB / 436.1 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1475/0.3027, allocations: 1.981 MB / 438.1 MB, free: 91.4 MB / 362.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.005479/0.3082, allocations: 3.403 MB / 441.5 MB, free: 89.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.3116, allocations: 1.151 MB / 442.7 MB, free: 89.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.312, allocations: 209 kB / 442.9 MB, free: 89.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1059/0.4178, allocations: 33.61 MB / 476.5 MB, free: 58.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.4179, allocations: 42.05 kB / 476.5 MB, free: 58.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/0.4179, allocations: 4 kB / 476.5 MB, free: 58.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.008904/0.4268, allocations: 2.398 MB / 478.9 MB, free: 56.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4268, allocations: 60.06 kB / 479 MB, free: 56.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.4274, allocations: 0.5376 MB / 479.5 MB, free: 55.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.4276, allocations: 37.7 kB / 479.6 MB, free: 55.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.4278, allocations: 462.7 kB / 480 MB, free: 54.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.428, allocations: 264.4 kB / 480.3 MB, free: 54.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.4285, allocations: 288.1 kB / 480.6 MB, free: 54.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4286, allocations: 0.5743 MB / 481.1 MB, free: 53.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.4293, allocations: 495.5 kB / 481.6 MB, free: 53.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.4301, allocations: 0.7354 MB / 482.3 MB, free: 52.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.4317, allocations: 1.111 MB / 483.5 MB, free: 51.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4317, allocations: 0 / 483.5 MB, free: 51.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003459/0.4352, allocations: 1.879 MB / 485.3 MB, free: 49.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4352, allocations: 4 kB / 485.3 MB, free: 49.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4352, allocations: 4 kB / 485.3 MB, free: 49.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/0.4385, allocations: 1.568 MB / 486.9 MB, free: 47.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.4389, allocations: 87.89 kB / 487 MB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.442, allocations: 1.98 MB / 489 MB, free: 45.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.4428, allocations: 67.56 kB / 489 MB, free: 45.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.443, allocations: 87.91 kB / 489.1 MB, free: 45.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.4441, allocations: 0.6646 MB / 489.8 MB, free: 45.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000889/0.445, allocations: 0.7371 MB / 490.5 MB, free: 44.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/0.4465, allocations: 1.11 MB / 491.6 MB, free: 43.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.4465, allocations: 0 / 491.6 MB, free: 43.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.003128/0.4497, allocations: 1.828 MB / 493.5 MB, free: 41.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.4497, allocations: 8 kB / 493.5 MB, free: 41.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4497, allocations: 0 / 493.5 MB, free: 41.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.4528, allocations: 1.575 MB / 495.1 MB, free: 39.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4531, allocations: 87.89 kB / 495.1 MB, free: 39.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.4562, allocations: 1.98 MB / 497.1 MB, free: 37.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.457, allocations: 62.67 kB / 497.2 MB, free: 37.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.4571, allocations: 91.91 kB / 497.3 MB, free: 37.37 MB / 362.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: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.4575, allocations: 308 kB / 497.6 MB, free: 37.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.4578, allocations: 83.56 kB / 497.6 MB, free: 36.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.4635, allocations: 6.292 MB / 0.4921 GB, free: 30.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.4635, allocations: 15.98 kB / 0.4921 GB, free: 30.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4635, allocations: 7.984 kB / 0.4922 GB, free: 30.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4635, allocations: 4 kB / 0.4922 GB, free: 30.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.4654, allocations: 2.502 MB / 0.4946 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4654, allocations: 4 kB / 0.4946 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.4662, allocations: 151.7 kB / 0.4948 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.4681, allocations: 440.5 kB / 0.4952 GB, free: 27.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4682, allocations: 23.97 kB / 0.4952 GB, free: 27.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.4721, allocations: 4.406 MB / 0.4995 GB, free: 22.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4721, allocations: 4 kB / 0.4995 GB, free: 22.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.4754, allocations: 1.942 MB / 0.5014 GB, free: 20.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.4758, allocations: 182.9 kB / 0.5016 GB, free: 20.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.476, allocations: 16 kB / 0.5016 GB, free: 20.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.4766, allocations: 27.97 kB / 0.5016 GB, free: 20.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4767, allocations: 64.48 kB / 0.5017 GB, free: 20.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.4768, allocations: 27.97 kB / 0.5017 GB, free: 20.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003165/0.4771, allocations: 347 kB / 0.502 GB, free: 19.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4771, allocations: 0 / 0.502 GB, free: 19.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003493/0.4806, allocations: 1.326 MB / 0.5033 GB, free: 18.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,8,76.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004504/0.4851, allocations: 1.076 MB / 0.5044 GB, free: 17.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004392/0.4895, allocations: 2.112 MB / 0.5064 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4895, allocations: 0 / 0.5064 GB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.4911, allocations: 0.9886 MB / 0.5074 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.4928, allocations: 297.2 kB / 0.5077 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.4962, allocations: 2.184 MB / 0.5098 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4966, allocations: 0.4959 MB / 0.5103 GB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006862/0.4972, allocations: 356.5 kB / 0.5106 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4975, allocations: 60.47 kB / 0.5107 GB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.933e-06/0.4975, allocations: 0 / 0.5107 GB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.1074/0.6049, allocations: 59.62 MB / 0.5689 GB, free: 15.13 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.570966879022308]