Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.001796/0.001796, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003007/0.003007, allocations: 215.6 kB / 22.25 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.723/1.723, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06633/0.06633, allocations: 11.33 MB / 323.8 MB, free: 6.781 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003618/0.003618, allocations: 67.83 kB / 451.2 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09664, allocations: 55.95 MB / 0.4953 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.00478/0.1014, allocations: 2.564 MB / 0.4978 GB, free: 8.613 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1042, allocations: 1.488 MB / 0.4992 GB, free: 7.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1043, allocations: 4 kB / 0.4992 GB, free: 7.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1045, allocations: 31.66 kB / 0.4993 GB, free: 7.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1049, allocations: 115.1 kB / 0.4994 GB, free: 6.973 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.1057, allocations: 345.9 kB / 0.4997 GB, free: 6.637 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.1061, allocations: 314.4 kB / 0.5 GB, free: 6.328 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1063, allocations: 53.03 kB / 0.5001 GB, free: 6.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1066, allocations: 123.6 kB / 0.5002 GB, free: 6.148 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1068, allocations: 111.5 kB / 0.5003 GB, free: 6.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.1068, allocations: 20 kB / 0.5003 GB, free: 6.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.1072, allocations: 163.7 kB / 0.5005 GB, free: 5.859 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.1073, allocations: 51.84 kB / 0.5005 GB, free: 5.809 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1074, allocations: 107.5 kB / 0.5006 GB, free: 5.703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.1081, allocations: 390.6 kB / 0.501 GB, free: 5.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1081, allocations: 0 / 0.501 GB, free: 5.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1081, allocations: 0 / 0.501 GB, free: 5.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1081, allocations: 0 / 0.501 GB, free: 5.32 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008989/0.109, allocations: 477.2 kB / 0.5014 GB, free: 4.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.109, allocations: 19.92 kB / 0.5015 GB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.1092, allocations: 40.73 kB / 0.5015 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1096, allocations: 198.6 kB / 0.5017 GB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1096, allocations: 20.31 kB / 0.5017 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.1096, allocations: 19.95 kB / 0.5017 GB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.1101, allocations: 240.4 kB / 0.502 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1101, allocations: 3.938 kB / 0.502 GB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1101, allocations: 8 kB / 0.502 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1102, allocations: 4 kB / 0.502 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.1105, allocations: 143.2 kB / 0.5021 GB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1118, allocations: 0.659 MB / 0.5028 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.1122, allocations: 130.6 kB / 0.5029 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1123, allocations: 56.83 kB / 0.5029 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.1125, allocations: 23.98 kB / 0.503 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1125, allocations: 34.56 kB / 0.503 GB, free: 3.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1125, allocations: 4 kB / 0.503 GB, free: 3.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.00177/0.1143, allocations: 0.5829 MB / 0.5036 GB, free: 2.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1143, allocations: 55.41 kB / 0.5036 GB, free: 2.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1145, allocations: 184 kB / 0.5038 GB, free: 2.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1145, allocations: 25.7 kB / 0.5038 GB, free: 2.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1147, allocations: 144.5 kB / 0.504 GB, free: 2.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.1147, allocations: 63.42 kB / 0.504 GB, free: 2.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.1148, allocations: 41.7 kB / 0.5041 GB, free: 1.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.115, allocations: 326.8 kB / 0.5044 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1152, allocations: 64.75 kB / 0.5044 GB, free: 1.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1154, allocations: 105.9 kB / 0.5045 GB, free: 1.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1159, allocations: 173.8 kB / 0.5047 GB, free: 1.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1159, allocations: 4 kB / 0.5047 GB, free: 1.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004605/0.1164, allocations: 213.4 kB / 0.5049 GB, free: 1.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1164, allocations: 4 kB / 0.5049 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1164, allocations: 0 / 0.5049 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1164, allocations: 4 kB / 0.5049 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.1167, allocations: 67.83 kB / 0.505 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1167, allocations: 4 kB / 0.505 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1168, allocations: 8 kB / 0.505 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1168, allocations: 11.98 kB / 0.505 GB, free: 0.9453 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001908/0.117, allocations: 145.9 kB / 0.5051 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1171, allocations: 15.91 kB / 0.5052 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.1176, allocations: 213.7 kB / 0.5054 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1176, allocations: 3.984 kB / 0.5054 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1176, allocations: 0 / 0.5054 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1176, allocations: 4 kB / 0.5054 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.1184, allocations: 473.9 kB / 0.5058 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1184, allocations: 0 / 0.5058 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.1187, allocations: 55.97 kB / 0.5059 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1187, allocations: 0 / 0.5059 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1187, allocations: 0 / 0.5059 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1187, allocations: 4 kB / 0.5059 GB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1187, allocations: 4.047 kB / 0.5059 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.1193, allocations: 357.6 kB / 0.5062 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.1194, allocations: 27.95 kB / 0.5062 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1195, allocations: 8 kB / 0.5063 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1196, allocations: 7.984 kB / 0.5063 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.1197, allocations: 19.91 kB / 0.5063 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1197, allocations: 4 kB / 0.5063 GB, free: 15.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1198, allocations: 136 kB / 0.5064 GB, free: 15.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1198, allocations: 0 / 0.5064 GB, free: 15.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1202, allocations: 103.7 kB / 0.5065 GB, free: 15.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003212/0.1206, allocations: 166.9 kB / 0.5067 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.121, allocations: 139.8 kB / 0.5068 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.121, allocations: 0 / 0.5068 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1211, allocations: 71.83 kB / 0.5069 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1215, allocations: 39.81 kB / 0.5069 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1228, allocations: 0.5603 MB / 0.5075 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.123, allocations: 137.8 kB / 0.5076 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.1231, allocations: 21.62 kB / 0.5076 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.1232, allocations: 27.42 kB / 0.5076 GB, free: 14.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1232, allocations: 0 / 0.5076 GB, free: 14.11 MB / 378.7 MB Notification: Performance of Templates: time 0.008573/0.1318, allocations: 3.402 MB / 0.511 GB, free: 10.78 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.221837107092142]