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.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009631/0.0009631, allocations: 177 kB / 23.49 MB, free: 1.055 MB / 18.57 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.9446/0.9446, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.03532/0.03532, allocations: 8.722 MB / 269 MB, free: 4.602 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.616e-05, allocations: 4.844 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003439/0.003455, allocations: 2.753 MB / 343.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.005555, allocations: 1.558 MB / 345.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.005683, allocations: 7.938 kB / 345.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.005839, allocations: 27.7 kB / 345.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.006163, allocations: 127 kB / 345.3 MB, free: 3.898 MB / 266.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.000636/0.006799, allocations: 346.6 kB / 345.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.007104, allocations: 326.2 kB / 346 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.00727, allocations: 61.27 kB / 346 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.007496, allocations: 163.7 kB / 346.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.007672, allocations: 103.7 kB / 346.3 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.007708, allocations: 20 kB / 346.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.007967, allocations: 163.7 kB / 346.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.00802, allocations: 51.77 kB / 346.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.00811, allocations: 91.77 kB / 346.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.008523, allocations: 326.9 kB / 346.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.008525, allocations: 4 kB / 346.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008526, allocations: 0 / 346.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.008531, allocations: 0 / 346.9 MB, free: 2.27 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.0007257/0.009256, allocations: 0.5659 MB / 347.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.009302, allocations: 12.03 kB / 347.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.009535, allocations: 60.67 kB / 347.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.009715, allocations: 188.2 kB / 347.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.009728, allocations: 20.75 kB / 347.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.009752, allocations: 20.36 kB / 347.8 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.00996, allocations: 223.2 kB / 348 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.00997, allocations: 0 / 348 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.009984, allocations: 4 kB / 348 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.009993, allocations: 4 kB / 348 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.0101, allocations: 83.25 kB / 348.1 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.01074, allocations: 0.7431 MB / 348.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01091, allocations: 115 kB / 349 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.01095, allocations: 35.67 kB / 349 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.01102, allocations: 27.92 kB / 349 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.01106, allocations: 37.47 kB / 349.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.01106, allocations: 0 / 349.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007889/0.01185, allocations: 464.8 kB / 349.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.01187, allocations: 59.34 kB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.01199, allocations: 221.9 kB / 349.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.012, allocations: 25.7 kB / 349.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.01207, allocations: 195.1 kB / 350 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.0121, allocations: 63.44 kB / 350.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.01215, allocations: 43.36 kB / 350.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01226, allocations: 0.5001 MB / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.01231, allocations: 35.67 kB / 350.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.01238, allocations: 97.78 kB / 350.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.01251, allocations: 133.7 kB / 350.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01251, allocations: 4 kB / 350.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001807/0.01269, allocations: 161 kB / 351 MB, free: 13.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.0127, allocations: 12.16 kB / 351.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01271, allocations: 0 / 351.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01272, allocations: 4.047 kB / 351.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01285, allocations: 71.88 kB / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.01285, allocations: 0 / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.0129, allocations: 4 kB / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.01291, allocations: 12 kB / 351.1 MB, free: 13.75 MB / 282.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.0001198/0.01303, allocations: 168.5 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.01308, allocations: 31.84 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.01335, allocations: 167.3 kB / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01335, allocations: 0 / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01336, allocations: 0 / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01336, allocations: 0 / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.01375, allocations: 471.3 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01375, allocations: 0 / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01388, allocations: 59.91 kB / 352 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01388, allocations: 0 / 352 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01389, allocations: 7.984 kB / 352 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01389, allocations: 8 kB / 352 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0139, allocations: 3.938 kB / 352 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01414, allocations: 325.7 kB / 352.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.01418, allocations: 27.89 kB / 352.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.0142, allocations: 0 / 352.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01425, allocations: 11.98 kB / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.01429, allocations: 7.984 kB / 352.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.0143, allocations: 11.98 kB / 352.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.01437, allocations: 167.9 kB / 352.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01437, allocations: 0 / 352.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.0146, allocations: 103.8 kB / 352.7 MB, free: 12.14 MB / 282.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.0001734/0.01477, allocations: 178.8 kB / 352.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01492, allocations: 99.47 kB / 353 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01493, allocations: 0 / 353 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.01499, allocations: 55.59 kB / 353 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01521, allocations: 44.23 kB / 353.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.01603, allocations: 496.6 kB / 353.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.01607, allocations: 83.97 kB / 353.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.01614, allocations: 29.61 kB / 353.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.01618, allocations: 24.5 kB / 353.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01618, allocations: 0 / 353.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of Templates: time 0.004374/0.02055, allocations: 3.146 MB / 356.8 MB, free: 7.992 MB / 282.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.612443038029596]