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.001023/0.001023, allocations: 156.4 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.107/1.107, allocations: 150.5 MB / 167.2 MB, free: 10.27 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001543/0.001543, allocations: 78.03 kB / 201.8 MB, free: 7.59 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04892/0.04892, allocations: 11.83 MB / 248.2 MB, free: 19.39 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 295.4 MB, free: 4.109 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2085, allocations: 36.43 MB / 331.9 MB, free: 34.83 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.005375/0.214, allocations: 4.608 MB / 336.5 MB, free: 31.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.2182, allocations: 2.582 MB / 339 MB, free: 29.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.2187, allocations: 12 kB / 339.1 MB, free: 29.01 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.2193, allocations: 383 kB / 339.4 MB, free: 28.64 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.22, allocations: 394 kB / 339.8 MB, free: 28.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2214, allocations: 410.9 kB / 340.2 MB, free: 27.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008272/0.2222, allocations: 0.871 MB / 341.1 MB, free: 26.97 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.2225, allocations: 165 kB / 341.3 MB, free: 26.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.2229, allocations: 318.8 kB / 341.6 MB, free: 26.5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.2233, allocations: 458.3 kB / 342 MB, free: 26.05 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.2233, allocations: 24 kB / 342 MB, free: 26.03 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.2238, allocations: 219.8 kB / 342.2 MB, free: 25.82 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.224, allocations: 235 kB / 342.5 MB, free: 25.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.2242, allocations: 397.5 kB / 342.9 MB, free: 25.2 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.225, allocations: 0.9987 MB / 343.9 MB, free: 24.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.225, allocations: 0 / 343.9 MB, free: 24.2 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2251, allocations: 0 / 343.9 MB, free: 24.2 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2251, allocations: 0 / 343.9 MB, free: 24.2 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.001741/0.2268, allocations: 1.204 MB / 345.1 MB, free: 22.94 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2269, allocations: 8.031 kB / 345.1 MB, free: 22.93 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.227, allocations: 103.7 kB / 345.2 MB, free: 22.83 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007021/0.2278, allocations: 0.6167 MB / 345.8 MB, free: 22.17 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2278, allocations: 37.38 kB / 345.8 MB, free: 22.14 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.2279, allocations: 51.86 kB / 345.9 MB, free: 22.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.2286, allocations: 0.514 MB / 346.4 MB, free: 21.56 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2286, allocations: 4 kB / 346.4 MB, free: 21.56 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.2287, allocations: 12 kB / 346.4 MB, free: 21.55 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2287, allocations: 16 kB / 346.4 MB, free: 21.53 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.2294, allocations: 0.5231 MB / 346.9 MB, free: 21.01 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.232, allocations: 2.489 MB / 349.4 MB, free: 18.24 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.2328, allocations: 391.3 kB / 349.8 MB, free: 17.85 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.2331, allocations: 212.7 kB / 350 MB, free: 17.64 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.2331, allocations: 15.97 kB / 350 MB, free: 17.62 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2332, allocations: 38.56 kB / 350.1 MB, free: 17.57 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.785e-06/0.2332, allocations: 0 / 350.1 MB, free: 17.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.001139/0.2343, allocations: 0.7627 MB / 350.8 MB, free: 16.8 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2344, allocations: 59.41 kB / 350.9 MB, free: 16.73 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/0.2353, allocations: 1.1 MB / 352 MB, free: 15.61 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2353, allocations: 29.7 kB / 352 MB, free: 15.58 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.2356, allocations: 427.9 kB / 352.4 MB, free: 15.16 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.2356, allocations: 102.6 kB / 352.5 MB, free: 15.05 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2357, allocations: 81.97 kB / 352.6 MB, free: 14.96 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.2358, allocations: 321.9 kB / 352.9 MB, free: 14.64 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2361, allocations: 204.6 kB / 353.1 MB, free: 14.45 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.2364, allocations: 277.6 kB / 353.4 MB, free: 14.15 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.237, allocations: 0.4939 MB / 353.9 MB, free: 13.63 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.237, allocations: 0 / 353.9 MB, free: 13.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007269/0.2377, allocations: 0.6207 MB / 354.5 MB, free: 13 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2377, allocations: 5.719 kB / 354.5 MB, free: 13 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2378, allocations: 7.984 kB / 354.5 MB, free: 12.99 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2378, allocations: 4 kB / 354.5 MB, free: 12.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.2381, allocations: 88.14 kB / 354.6 MB, free: 12.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2382, allocations: 15.92 kB / 354.6 MB, free: 12.88 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.2385, allocations: 47.44 kB / 354.7 MB, free: 12.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2385, allocations: 27.92 kB / 354.7 MB, free: 12.81 MB / 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,VR100.MeteringTable.tableID,VR10.MeteringTable.tableID,VR30.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.2387, allocations: 293.7 kB / 355 MB, free: 12.51 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.2388, allocations: 102.7 kB / 355.1 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.2397, allocations: 0.6821 MB / 355.8 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.2397, allocations: 7.938 kB / 355.8 MB, free: 11.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2397, allocations: 0 / 355.8 MB, free: 11.71 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2398, allocations: 4 kB / 355.8 MB, free: 11.71 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.2403, allocations: 0.627 MB / 356.4 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2403, allocations: 0 / 356.4 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.2406, allocations: 71.94 kB / 356.5 MB, free: 10.96 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2406, allocations: 4 kB / 356.5 MB, free: 10.96 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2407, allocations: 8 kB / 356.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2407, allocations: 3.938 kB / 356.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2407, allocations: 0 / 356.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2419, allocations: 1.733 MB / 358.2 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.2422, allocations: 223.8 kB / 358.5 MB, free: 8.914 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.2423, allocations: 8 kB / 358.5 MB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.2425, allocations: 11.98 kB / 358.5 MB, free: 8.895 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.2426, allocations: 23.97 kB / 358.5 MB, free: 8.871 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2426, allocations: 15.98 kB / 358.5 MB, free: 8.855 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0006659/0.2433, allocations: 0.7746 MB / 359.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2433, allocations: 0 / 359.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005797/0.2439, allocations: 195.8 kB / 359.5 MB, free: 7.879 MB / 234.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 (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.0005121/0.2444, allocations: 283 kB / 359.8 MB, free: 7.652 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.2451, allocations: 475.6 kB / 360.2 MB, free: 7.188 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2451, allocations: 0 / 360.2 MB, free: 7.188 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.2454, allocations: 231.8 kB / 360.5 MB, free: 6.961 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.2468, allocations: 318.8 kB / 360.8 MB, free: 6.664 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.2487, allocations: 1.954 MB / 362.7 MB, free: 4.664 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2491, allocations: 1.019 MB / 363.7 MB, free: 3.613 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0003907/0.2495, allocations: 153.5 kB / 363.9 MB, free: 3.461 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2496, allocations: 59.42 kB / 364 MB, free: 3.406 MB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2496, allocations: 3.938 kB / 364 MB, free: 3.402 MB / 234.7 MB Notification: Performance of Templates: time 0.01899/0.2686, allocations: 11.5 MB / 375.5 MB, free: 7.969 MB / 250.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)