Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001126/0.00113, allocations: 146.3 kB / 15.75 MB, free: 6.375 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 0.8888/0.8888, allocations: 150.7 MB / 167.2 MB, free: 5.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001282/0.001282, allocations: 74.03 kB / 202.5 MB, free: 2.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0473/0.0473, allocations: 11.85 MB / 249.5 MB, free: 0.5977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 8.719 kB / 297.1 MB, free: 26.86 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05687/0.0572, allocations: 37.15 MB / 334.2 MB, free: 6.027 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003788/0.06106, allocations: 4.03 MB / 338.3 MB, free: 1.969 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.06406, allocations: 2.362 MB / 340.6 MB, free: 15.6 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.0643, allocations: 8 kB / 340.6 MB, free: 15.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.06485, allocations: 406.8 kB / 341 MB, free: 15.19 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.06558, allocations: 481.1 kB / 341.5 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.06643, allocations: 386.9 kB / 341.9 MB, free: 14.34 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.06715, allocations: 0.8008 MB / 342.7 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.0674, allocations: 147.4 kB / 342.8 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.06775, allocations: 294.9 kB / 343.1 MB, free: 13.1 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.06818, allocations: 414.5 kB / 343.5 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.06824, allocations: 20 kB / 343.6 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.06866, allocations: 199.8 kB / 343.7 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.06886, allocations: 223.2 kB / 344 MB, free: 12.26 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.06901, allocations: 177.2 kB / 344.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.06973, allocations: 0.7564 MB / 344.9 MB, free: 11.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.06975, allocations: 4 kB / 344.9 MB, free: 11.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06975, allocations: 0 / 344.9 MB, free: 11.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.06977, allocations: 0 / 344.9 MB, free: 11.32 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001494/0.07127, allocations: 1.052 MB / 345.9 MB, free: 10.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.07131, allocations: 12.03 kB / 346 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.07144, allocations: 98.78 kB / 346.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.07216, allocations: 0.5966 MB / 346.7 MB, free: 9.469 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.0722, allocations: 37 kB / 346.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.07227, allocations: 40 kB / 346.7 MB, free: 9.395 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008181/0.0731, allocations: 0.5218 MB / 347.3 MB, free: 8.863 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.07312, allocations: 4 kB / 347.3 MB, free: 8.859 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.07317, allocations: 12 kB / 347.3 MB, free: 8.848 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.07318, allocations: 12 kB / 347.3 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.07405, allocations: 0.5349 MB / 347.8 MB, free: 8.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.07691, allocations: 2.497 MB / 350.3 MB, free: 5.523 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.07768, allocations: 395.3 kB / 350.7 MB, free: 5.129 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.07801, allocations: 220.7 kB / 350.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.07806, allocations: 4 kB / 350.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.07809, allocations: 42.52 kB / 351 MB, free: 4.855 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.0781, allocations: 0 / 351 MB, free: 4.855 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.001179/0.07928, allocations: 0.7814 MB / 351.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.07933, allocations: 55.41 kB / 351.8 MB, free: 4 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.08049, allocations: 1.096 MB / 352.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.08053, allocations: 29.7 kB / 352.9 MB, free: 2.848 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.08085, allocations: 435.8 kB / 353.3 MB, free: 2.418 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.08093, allocations: 94.64 kB / 353.4 MB, free: 2.324 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.08096, allocations: 11.94 kB / 353.4 MB, free: 2.312 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.08107, allocations: 318 kB / 353.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.08145, allocations: 208.6 kB / 354 MB, free: 1.789 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.08183, allocations: 281.1 kB / 354.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.0822, allocations: 223.9 kB / 354.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.08221, allocations: 0 / 354.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009002/0.08312, allocations: 0.629 MB / 355.1 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.08315, allocations: 8 kB / 355.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.08317, allocations: 3.953 kB / 355.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.08319, allocations: 7.938 kB / 355.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.08361, allocations: 100.1 kB / 355.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.08363, allocations: 7.984 kB / 355.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.08394, allocations: 59.41 kB / 355.3 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.08398, allocations: 16 kB / 355.3 MB, free: 444 kB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown,VR30.MeteringTable.tableID,VR10.MeteringTable.tableID,VR100.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.08429, allocations: 293.6 kB / 355.6 MB, free: 140 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.0844, allocations: 98.78 kB / 355.7 MB, free: 40 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.08549, allocations: 0.7016 MB / 356.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.08551, allocations: 7.953 kB / 356.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.08552, allocations: 4 kB / 356.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.08553, allocations: 3.984 kB / 356.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.08617, allocations: 0.6232 MB / 357 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.08618, allocations: 0 / 357 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.08653, allocations: 75.89 kB / 357.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.08654, allocations: 4 kB / 357.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.08657, allocations: 15.98 kB / 357.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.08658, allocations: 0 / 357.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.08659, allocations: 3.953 kB / 357.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.08748, allocations: 0.7406 MB / 357.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.08776, allocations: 231.7 kB / 358.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.08785, allocations: 11.94 kB / 358.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.08813, allocations: 15.98 kB / 358.1 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.08819, allocations: 19.92 kB / 358.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.08823, allocations: 15.98 kB / 358.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008625/0.0891, allocations: 0.7746 MB / 358.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08911, allocations: 0 / 358.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005182/0.08963, allocations: 183.9 kB / 359.1 MB, free: 12.51 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (VR30.MeteringTable.tableID,VR10.MeteringTable.tableID,VR100.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005193/0.09016, allocations: 277.4 kB / 359.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000748/0.09092, allocations: 483.5 kB / 359.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09093, allocations: 0 / 359.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.09128, allocations: 235.8 kB / 360.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.09276, allocations: 324.1 kB / 360.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.09481, allocations: 1.717 MB / 362.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.09532, allocations: 1.008 MB / 363.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.0955, allocations: 67.42 kB / 363.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of SimCode: time 2.91e-07/0.0955, allocations: 0 / 363.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of Templates: time 0.01491/0.1104, allocations: 11.59 MB / 374.8 MB, free: 12.84 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)