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.0007426/0.0007426, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002402, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002528, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9366/0.9366, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03317/0.03317, allocations: 8.722 MB / 252.9 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005674/0.03884, allocations: 3.021 MB / 255.9 MB, free: 3.277 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 257.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.13e-05, allocations: 2.312 kB / 257.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002899/0.00292, allocations: 2.792 MB / 260 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.005043, allocations: 1.593 MB / 261.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.005176, allocations: 4 kB / 261.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.005277, allocations: 39.64 kB / 261.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.005591, allocations: 123 kB / 261.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.006406, allocations: 322.7 kB / 262.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.006811, allocations: 338.3 kB / 262.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.00697, allocations: 71.11 kB / 262.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.007235, allocations: 176.4 kB / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.0074, allocations: 111.7 kB / 262.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.007424, allocations: 16 kB / 262.7 MB, free: 12.37 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: 'Re' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.007706, allocations: 171.7 kB / 262.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.007753, allocations: 43.81 kB / 263 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.007819, allocations: 75.88 kB / 263 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.008168, allocations: 291.1 kB / 263.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.008182, allocations: 0 / 263.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008183, allocations: 4 kB / 263.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.008194, allocations: 0 / 263.3 MB, free: 11.8 MB / 266.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.0005879/0.008782, allocations: 0.5149 MB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.008814, allocations: 8.031 kB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.009005, allocations: 133.9 kB / 264 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.009189, allocations: 161.5 kB / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.009203, allocations: 20.31 kB / 264.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.009231, allocations: 19.98 kB / 264.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.00943, allocations: 205 kB / 264.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.00944, allocations: 3.938 kB / 264.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.009451, allocations: 4 kB / 264.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.009457, allocations: 4 kB / 264.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.009525, allocations: 59.09 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.01016, allocations: 0.53 MB / 265 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.01032, allocations: 74.53 kB / 265 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.01036, allocations: 32.84 kB / 265.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.01044, allocations: 23.98 kB / 265.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.01047, allocations: 30.56 kB / 265.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.01047, allocations: 0 / 265.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006511/0.01112, allocations: 281 kB / 265.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.01115, allocations: 59.34 kB / 265.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.01125, allocations: 175 kB / 265.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01127, allocations: 29.7 kB / 265.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.01132, allocations: 136.4 kB / 265.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.01135, allocations: 51.58 kB / 265.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.0114, allocations: 45.58 kB / 265.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.01148, allocations: 326.8 kB / 266.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.01152, allocations: 32.75 kB / 266.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.01156, allocations: 57.08 kB / 266.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.01164, allocations: 96.66 kB / 266.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01165, allocations: 4 kB / 266.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001122/0.01176, allocations: 97.53 kB / 266.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01177, allocations: 8.156 kB / 266.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01178, allocations: 4 kB / 266.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.01179, allocations: 0 / 266.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.01199, allocations: 71.81 kB / 266.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01199, allocations: 4 kB / 266.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.01204, allocations: 15.94 kB / 266.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.01205, allocations: 4 kB / 266.6 MB, free: 8.289 MB / 266.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: 6 * 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 (19): * Single equations (assignments): 19 * 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.000106/0.01216, allocations: 128.5 kB / 266.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.01218, allocations: 15.98 kB / 266.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01236, allocations: 130.5 kB / 266.9 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01237, allocations: 11.92 kB / 266.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01237, allocations: 0 / 266.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01238, allocations: 3.984 kB / 266.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.01254, allocations: 129.8 kB / 267 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01255, allocations: 0 / 267 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01271, allocations: 68.7 kB / 267.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.01275, allocations: 23.83 kB / 267.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01275, allocations: 4 kB / 267.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01276, allocations: 7.938 kB / 267.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01277, allocations: 0 / 267.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.01277, allocations: 4 kB / 267.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.01295, allocations: 207.4 kB / 267.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.01297, allocations: 8 kB / 267.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.01301, allocations: 3.938 kB / 267.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.01304, allocations: 15.97 kB / 267.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01305, allocations: 8.031 kB / 267.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.01309, allocations: 50.16 kB / 267.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01309, allocations: 0 / 267.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01333, allocations: 103.6 kB / 267.5 MB, free: 7.324 MB / 266.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 (17): * Single equations (assignments): 17 * 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.0002055/0.01354, allocations: 167.9 kB / 267.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01366, allocations: 72.67 kB / 267.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.01367, allocations: 4 kB / 267.7 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.01372, allocations: 52.75 kB / 267.8 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.01404, allocations: 456.7 kB / 268.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.01821, allocations: 441.1 kB / 268.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.01826, allocations: 83.97 kB / 268.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.01833, allocations: 25.61 kB / 268.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.01845, allocations: 95.33 kB / 268.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01845, allocations: 4 kB / 268.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of Templates: time 0.005113/0.02356, allocations: 3.662 MB / 272.5 MB, free: 2.223 MB / 266.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: 2.580232565291226]