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.0009995/0.0009995, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00102/0.00102, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.934/0.934, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.04085/0.04085, allocations: 8.72 MB / 269.8 MB, free: 4.371 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.182e-06/1.182e-06, allocations: 0 / 342.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.317e-05, allocations: 8.641 kB / 342.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002194/0.002207, allocations: 2.733 MB / 344.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003646, allocations: 1.55 MB / 346.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003753, allocations: 7.938 kB / 346.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.003868, allocations: 35.64 kB / 346.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.004101, allocations: 111.2 kB / 346.5 MB, free: 3.297 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.0004825/0.004583, allocations: 350.6 kB / 346.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.0048, allocations: 330.2 kB / 347.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.00492, allocations: 57.28 kB / 347.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.005083, allocations: 175.5 kB / 347.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005217, allocations: 103.7 kB / 347.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.005239, allocations: 20 kB / 347.5 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.005424, allocations: 159.7 kB / 347.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.005463, allocations: 51.83 kB / 347.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.005524, allocations: 99.77 kB / 347.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.005805, allocations: 322.9 kB / 348.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-06/0.005806, allocations: 0 / 348.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005806, allocations: 0 / 348.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.00581, allocations: 0 / 348.2 MB, free: 1.656 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.0004034/0.006213, allocations: 0.5736 MB / 348.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.006245, allocations: 8.031 kB / 348.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.006374, allocations: 52.69 kB / 348.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.006527, allocations: 196.2 kB / 349 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.006539, allocations: 12.75 kB / 349 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.006562, allocations: 20.38 kB / 349 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.006723, allocations: 211.1 kB / 349.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006733, allocations: 0 / 349.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006745, allocations: 4 kB / 349.2 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.00675, allocations: 8 kB / 349.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.006813, allocations: 55.31 kB / 349.3 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.007437, allocations: 0.7163 MB / 350 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.007599, allocations: 107 kB / 350.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.007634, allocations: 31.66 kB / 350.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.8e-05/0.007702, allocations: 27.92 kB / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.007721, allocations: 37.39 kB / 350.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.007722, allocations: 0 / 350.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006645/0.008386, allocations: 430.7 kB / 350.6 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.008412, allocations: 55.34 kB / 350.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008517, allocations: 217.8 kB / 350.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.00853, allocations: 29.7 kB / 350.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.008606, allocations: 195.1 kB / 351.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.008639, allocations: 67.42 kB / 351.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.008685, allocations: 43.34 kB / 351.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.008803, allocations: 0.4962 MB / 351.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.008844, allocations: 39.64 kB / 351.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.008905, allocations: 92.7 kB / 351.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.009008, allocations: 121.6 kB / 352 MB, free: 13.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009009, allocations: 0 / 352 MB, free: 13.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001578/0.009167, allocations: 157.4 kB / 352.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.009178, allocations: 12.03 kB / 352.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.009183, allocations: 0 / 352.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.009191, allocations: 4 kB / 352.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.009313, allocations: 55.91 kB / 352.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009317, allocations: 0 / 352.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.009364, allocations: 11.98 kB / 352.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.009374, allocations: 7.938 kB / 352.2 MB, free: 13.3 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.0001067/0.009481, allocations: 172.6 kB / 352.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.009512, allocations: 23.78 kB / 352.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.009699, allocations: 167.2 kB / 352.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009702, allocations: 4 kB / 352.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.009703, allocations: 0 / 352.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009708, allocations: 3.984 kB / 352.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.01007, allocations: 425.8 kB / 353 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01007, allocations: 0 / 353 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.01019, allocations: 47.97 kB / 353 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01019, allocations: 0 / 353 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.0102, allocations: 12 kB / 353 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0102, allocations: 0 / 353 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.0102, allocations: 3.984 kB / 353 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01043, allocations: 306.9 kB / 353.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.01047, allocations: 27.89 kB / 353.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01049, allocations: 11.95 kB / 353.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.01055, allocations: 4.031 kB / 353.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.01059, allocations: 19.97 kB / 353.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.01059, allocations: 0 / 353.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.838e-05/0.01066, allocations: 167.9 kB / 353.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01066, allocations: 4.031 kB / 353.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000244/0.01091, allocations: 95.73 kB / 353.7 MB, free: 11.76 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.0001686/0.01108, allocations: 178.8 kB / 353.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01121, allocations: 83.56 kB / 353.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01121, allocations: 0 / 353.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.01126, allocations: 51.59 kB / 354 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01148, allocations: 48.22 kB / 354 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.01221, allocations: 497.5 kB / 354.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.01226, allocations: 83.98 kB / 354.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.01233, allocations: 29.55 kB / 354.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01243, allocations: 114.2 kB / 354.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01244, allocations: 0 / 354.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of Templates: time 0.004936/0.01737, allocations: 3.601 MB / 358.3 MB, free: 7.098 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.861069966107607]