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.0009266/0.0009266, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009313/0.0009313, allocations: 169 kB / 23.02 MB, free: 1.547 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.8998/0.8998, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03262/0.03262, allocations: 8.712 MB / 268.7 MB, free: 4.531 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.342e-06/1.342e-06, allocations: 3.938 kB / 340.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.736e-05, allocations: 8.953 kB / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002331/0.002348, allocations: 2.752 MB / 343.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003788, allocations: 1.57 MB / 345.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003888, allocations: 4 kB / 345.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.004023, allocations: 31.64 kB / 345.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.004299, allocations: 119.1 kB / 345.3 MB, free: 3.551 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.0004469/0.004746, allocations: 342.6 kB / 345.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.00498, allocations: 334.2 kB / 346 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.005117, allocations: 61.27 kB / 346.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.005291, allocations: 163.6 kB / 346.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.005426, allocations: 111.7 kB / 346.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.005449, allocations: 20 kB / 346.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.005622, allocations: 155.7 kB / 346.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.00566, allocations: 59.7 kB / 346.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.005723, allocations: 95.77 kB / 346.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.006011, allocations: 318.9 kB / 347 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006013, allocations: 0 / 347 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006014, allocations: 0 / 347 MB, free: 1.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006018, allocations: 0 / 347 MB, free: 1.918 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.0004782/0.006496, allocations: 0.5737 MB / 347.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.006528, allocations: 8.031 kB / 347.5 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.006669, allocations: 60.67 kB / 347.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.006836, allocations: 188.3 kB / 347.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.00685, allocations: 16.75 kB / 347.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.006875, allocations: 20.36 kB / 347.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.007094, allocations: 223.1 kB / 348 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007106, allocations: 0 / 348 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007121, allocations: 8 kB / 348 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.00713, allocations: 4 kB / 348 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.007238, allocations: 79.31 kB / 348.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.007936, allocations: 0.747 MB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.008129, allocations: 107 kB / 349 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.008184, allocations: 39.67 kB / 349 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.008275, allocations: 19.98 kB / 349 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.0083, allocations: 49.27 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.008301, allocations: 0 / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008139/0.009115, allocations: 464.1 kB / 349.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.009138, allocations: 55.41 kB / 349.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.009259, allocations: 221.9 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009272, allocations: 29.7 kB / 349.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.009344, allocations: 191.1 kB / 350 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.009378, allocations: 67.42 kB / 350.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.009428, allocations: 47.36 kB / 350.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.009539, allocations: 0.5001 MB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.009594, allocations: 35.67 kB / 350.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.009666, allocations: 97.72 kB / 350.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.009795, allocations: 131.1 kB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009796, allocations: 0 / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001875/0.009983, allocations: 173 kB / 351.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.009995, allocations: 4 kB / 351.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.009999, allocations: 0 / 351.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01001, allocations: 4.047 kB / 351.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01015, allocations: 67.94 kB / 351.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01016, allocations: 11.92 kB / 351.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.0102, allocations: 4 kB / 351.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01021, allocations: 8 kB / 351.2 MB, free: 13.39 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.0001021/0.01032, allocations: 168.6 kB / 351.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01035, allocations: 27.84 kB / 351.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.01059, allocations: 171.2 kB / 351.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01059, allocations: 4 kB / 351.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0106, allocations: 0 / 351.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0106, allocations: 0 / 351.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.01099, allocations: 467.8 kB / 352 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01099, allocations: 0 / 352 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.01112, allocations: 51.97 kB / 352 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01113, allocations: 0 / 352 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01114, allocations: 15.98 kB / 352 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01114, allocations: 0 / 352 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01114, allocations: 0 / 352 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01142, allocations: 330.7 kB / 352.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.01146, allocations: 27.89 kB / 352.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.01148, allocations: 0 / 352.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.01153, allocations: 11.98 kB / 352.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.01157, allocations: 11.98 kB / 352.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01158, allocations: 11.98 kB / 352.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.01165, allocations: 163.9 kB / 352.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01165, allocations: 4.031 kB / 352.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.01187, allocations: 99.73 kB / 352.7 MB, free: 11.78 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.0002053/0.01207, allocations: 174.8 kB / 352.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01223, allocations: 99.47 kB / 353 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01224, allocations: 0 / 353 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.0123, allocations: 62.69 kB / 353 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.0002304/0.01253, allocations: 44.23 kB / 353.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.01346, allocations: 497.6 kB / 353.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.0136, allocations: 83.97 kB / 353.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.01366, allocations: 21.62 kB / 353.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.01371, allocations: 24.5 kB / 353.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01371, allocations: 0 / 353.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Templates: time 0.005078/0.01879, allocations: 3.473 MB / 357.1 MB, free: 7.32 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.603139542043209]