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.0006744/0.0006744, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001571, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006883/0.0006883, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000877/0.001565, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9372/0.9372, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09462/1.032, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.04337/0.04337, allocations: 8.741 MB / 252.7 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006298/0.04967, allocations: 2.998 MB / 255.7 MB, free: 3.363 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.813e-06/1.813e-06, allocations: 0 / 257 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.002e-05, allocations: 6.25 kB / 257 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002613/0.002633, allocations: 2.792 MB / 259.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.004143, allocations: 1.604 MB / 261.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.004233, allocations: 3.938 kB / 261.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.131e-05/0.004314, allocations: 31.7 kB / 261.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.004494, allocations: 123 kB / 261.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.005056, allocations: 326.7 kB / 261.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.005303, allocations: 334.2 kB / 262.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.005429, allocations: 63.17 kB / 262.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.005626, allocations: 184.4 kB / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.005769, allocations: 107.7 kB / 262.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.005795, allocations: 20 kB / 262.5 MB, free: 12.48 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.0002234/0.006019, allocations: 175.7 kB / 262.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.006056, allocations: 35.88 kB / 262.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.006121, allocations: 75.88 kB / 262.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.006421, allocations: 295 kB / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.006438, allocations: 0 / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006439, allocations: 0 / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.006452, allocations: 0 / 263.1 MB, free: 11.91 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.0005216/0.006974, allocations: 0.5072 MB / 263.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.007001, allocations: 8.031 kB / 263.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.00717, allocations: 137.9 kB / 263.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.007336, allocations: 165.5 kB / 263.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.00735, allocations: 20.25 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.007375, allocations: 23.94 kB / 264 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.007566, allocations: 202.9 kB / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007579, allocations: 0 / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.007592, allocations: 8 kB / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.007598, allocations: 4 kB / 264.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.007665, allocations: 47.72 kB / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.008276, allocations: 0.5337 MB / 264.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.008428, allocations: 82.52 kB / 264.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.008458, allocations: 24.78 kB / 264.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.008533, allocations: 27.98 kB / 264.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.008552, allocations: 34.56 kB / 264.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.008553, allocations: 0 / 264.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.000287/0.00884, allocations: 161.8 kB / 265.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.008866, allocations: 59.34 kB / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.008953, allocations: 167.9 kB / 265.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.008968, allocations: 33.69 kB / 265.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.009019, allocations: 148.3 kB / 265.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.009045, allocations: 51.58 kB / 265.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.009082, allocations: 33.66 kB / 265.6 MB, free: 9.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.009152, allocations: 326.8 kB / 265.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.009185, allocations: 36.77 kB / 265.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.009225, allocations: 53.12 kB / 266 MB, free: 8.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.009302, allocations: 96.41 kB / 266.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.009305, allocations: 4 kB / 266.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001115/0.009417, allocations: 109.6 kB / 266.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.009426, allocations: 4 kB / 266.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009431, allocations: 0 / 266.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.00944, allocations: 11.92 kB / 266.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.009623, allocations: 67.88 kB / 266.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.009627, allocations: 4 kB / 266.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.00967, allocations: 11.95 kB / 266.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009677, allocations: 4 kB / 266.3 MB, free: 8.516 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 9.7e-05/0.009774, allocations: 128.6 kB / 266.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.009798, allocations: 15.98 kB / 266.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.009947, allocations: 126.9 kB / 266.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009951, allocations: 7.875 kB / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.009952, allocations: 0 / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009955, allocations: 0 / 266.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.01011, allocations: 137.7 kB / 266.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01011, allocations: 0 / 266.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.01026, allocations: 71.94 kB / 266.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.0103, allocations: 19.84 kB / 266.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0103, allocations: 0 / 266.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01031, allocations: 7.938 kB / 266.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01032, allocations: 7.984 kB / 266.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01032, allocations: 0 / 266.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01047, allocations: 214.2 kB / 267 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.01049, allocations: 4 kB / 267 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.01054, allocations: 7.938 kB / 267 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.01057, allocations: 11.98 kB / 267 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.01057, allocations: 4.031 kB / 267 MB, free: 7.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.01061, allocations: 59.55 kB / 267.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 267.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.0108, allocations: 95.64 kB / 267.2 MB, free: 7.559 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.0001595/0.01096, allocations: 160 kB / 267.3 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.01106, allocations: 72.59 kB / 267.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.01106, allocations: 4 kB / 267.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.01111, allocations: 48.77 kB / 267.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.0113, allocations: 52.23 kB / 267.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.0155, allocations: 445.1 kB / 267.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.247e-05/0.01555, allocations: 79.98 kB / 268 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.01562, allocations: 29.39 kB / 268.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.01573, allocations: 91.34 kB / 268.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01573, allocations: 4 kB / 268.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of Templates: time 0.005471/0.0212, allocations: 3.646 MB / 271.8 MB, free: 2.965 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.529400168918073]