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/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001571/0.001572, allocations: 156.8 kB / 15.95 MB, free: 5.793 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.137/1.137, allocations: 150.5 MB / 167.2 MB, free: 10.29 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001488/0.001488, allocations: 86.02 kB / 201.8 MB, free: 7.594 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05064/0.05064, allocations: 11.84 MB / 248.2 MB, free: 19.39 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.88 kB / 295.4 MB, free: 4.113 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1667, allocations: 36.43 MB / 331.9 MB, free: 34.87 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003422/0.1702, allocations: 3.264 MB / 335.1 MB, free: 32.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1719, allocations: 1.546 MB / 336.7 MB, free: 31.04 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.172, allocations: 7.312 kB / 336.7 MB, free: 31.04 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1722, allocations: 22.7 kB / 336.7 MB, free: 31.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.1725, allocations: 115.6 kB / 336.8 MB, free: 30.92 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.1731, allocations: 282.2 kB / 337.1 MB, free: 30.76 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.1734, allocations: 350.5 kB / 337.4 MB, free: 30.56 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1736, allocations: 82.02 kB / 337.5 MB, free: 30.51 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1737, allocations: 109.9 kB / 337.6 MB, free: 30.46 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1739, allocations: 127 kB / 337.7 MB, free: 30.35 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1739, allocations: 15.94 kB / 337.8 MB, free: 30.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1742, allocations: 211.6 kB / 338 MB, free: 30.13 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1743, allocations: 43.78 kB / 338 MB, free: 30.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.1744, allocations: 123.4 kB / 338.1 MB, free: 29.96 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1747, allocations: 385 kB / 338.5 MB, free: 29.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1747, allocations: 3.938 kB / 338.5 MB, free: 29.59 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1748, allocations: 0 / 338.5 MB, free: 29.59 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1748, allocations: 0 / 338.5 MB, free: 29.59 MB / 234.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.0006665/0.1754, allocations: 0.5535 MB / 339.1 MB, free: 28.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1755, allocations: 8.031 kB / 339.1 MB, free: 28.97 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1756, allocations: 28.66 kB / 339.1 MB, free: 28.95 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1758, allocations: 251.4 kB / 339.3 MB, free: 28.66 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1758, allocations: 12.38 kB / 339.4 MB, free: 28.65 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1758, allocations: 20 kB / 339.4 MB, free: 28.63 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1762, allocations: 219.2 kB / 339.6 MB, free: 28.4 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1762, allocations: 0 / 339.6 MB, free: 28.4 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1762, allocations: 8 kB / 339.6 MB, free: 28.39 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1762, allocations: 4 kB / 339.6 MB, free: 28.39 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.1765, allocations: 147.2 kB / 339.7 MB, free: 28.25 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1775, allocations: 1.114 MB / 340.9 MB, free: 26.99 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.1778, allocations: 134.6 kB / 341 MB, free: 26.85 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.1779, allocations: 64.83 kB / 341 MB, free: 26.79 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.1781, allocations: 336.3 kB / 341.4 MB, free: 26.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1781, allocations: 38.55 kB / 341.4 MB, free: 26.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.1781, allocations: 0 / 341.4 MB, free: 26.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.001571/0.1797, allocations: 0.6545 MB / 342.1 MB, free: 25.63 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1797, allocations: 51.41 kB / 342.1 MB, free: 25.57 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1799, allocations: 219.2 kB / 342.3 MB, free: 25.35 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1799, allocations: 37.7 kB / 342.4 MB, free: 25.3 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.18, allocations: 140.3 kB / 342.5 MB, free: 25.16 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.18, allocations: 66.95 kB / 342.6 MB, free: 25.1 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.1801, allocations: 37.7 kB / 342.6 MB, free: 25.05 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.1802, allocations: 330.8 kB / 342.9 MB, free: 24.72 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1803, allocations: 64.77 kB / 343 MB, free: 24.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1804, allocations: 117.5 kB / 343.1 MB, free: 24.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1807, allocations: 172.4 kB / 343.3 MB, free: 24.34 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1807, allocations: 0 / 343.3 MB, free: 24.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003208/0.181, allocations: 205.3 kB / 343.5 MB, free: 24.13 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.181, allocations: 11.94 kB / 343.5 MB, free: 24.12 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.181, allocations: 0 / 343.5 MB, free: 24.12 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1811, allocations: 4.156 kB / 343.5 MB, free: 24.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1813, allocations: 59.97 kB / 343.6 MB, free: 24.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1813, allocations: 3.984 kB / 343.6 MB, free: 24.05 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1814, allocations: 11.94 kB / 343.6 MB, free: 24.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1814, allocations: 15.94 kB / 343.6 MB, free: 24.02 MB / 234.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.000126/0.1816, allocations: 137.8 kB / 343.7 MB, free: 23.88 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1816, allocations: 31.72 kB / 343.8 MB, free: 23.85 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.182, allocations: 219.3 kB / 344 MB, free: 23.63 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.182, allocations: 4 kB / 344 MB, free: 23.63 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.182, allocations: 0 / 344 MB, free: 23.63 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.182, allocations: 3.938 kB / 344 MB, free: 23.62 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.1826, allocations: 0.5374 MB / 344.5 MB, free: 23.03 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1826, allocations: 8 kB / 344.5 MB, free: 23.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1829, allocations: 51.91 kB / 344.6 MB, free: 22.97 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1829, allocations: 0 / 344.6 MB, free: 22.97 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1829, allocations: 15.92 kB / 344.6 MB, free: 22.96 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1829, allocations: 0 / 344.6 MB, free: 22.96 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1829, allocations: 0 / 344.6 MB, free: 22.96 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0357/0.2186, allocations: 3.043 MB / 347.6 MB, free: 19.72 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.2187, allocations: 108.9 kB / 347.7 MB, free: 19.6 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2187, allocations: 8 kB / 347.7 MB, free: 19.59 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2189, allocations: 12 kB / 347.8 MB, free: 19.58 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.2189, allocations: 15.97 kB / 347.8 MB, free: 19.56 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.219, allocations: 4 kB / 347.8 MB, free: 19.56 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2191, allocations: 179.1 kB / 347.9 MB, free: 19.38 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2191, allocations: 0 / 347.9 MB, free: 19.38 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007065/0.2198, allocations: 227.9 kB / 348.2 MB, free: 19.16 MB / 234.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.0008358/0.2206, allocations: 294.8 kB / 348.5 MB, free: 18.86 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.221, allocations: 143.8 kB / 348.6 MB, free: 18.72 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.221, allocations: 0 / 348.6 MB, free: 18.72 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2211, allocations: 80.22 kB / 348.7 MB, free: 18.64 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.2218, allocations: 103.5 kB / 348.8 MB, free: 18.55 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.2227, allocations: 0.7978 MB / 349.6 MB, free: 17.71 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2229, allocations: 0.756 MB / 350.3 MB, free: 16.92 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.223, allocations: 38.27 kB / 350.4 MB, free: 16.88 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.2231, allocations: 23.44 kB / 350.4 MB, free: 16.86 MB / 234.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2231, allocations: 0 / 350.4 MB, free: 16.86 MB / 234.7 MB Notification: Performance of Templates: time 0.03252/0.2556, allocations: 26.69 MB / 377.1 MB, free: 6.184 MB / 250.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)