Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001368/0.001368, allocations: 156.6 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.056/1.056, allocations: 150.5 MB / 167.2 MB, free: 10.28 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001485/0.001485, allocations: 81.97 kB / 201.8 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04774/0.04774, allocations: 11.83 MB / 248.2 MB, free: 19.4 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 295.4 MB, free: 4.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1945, allocations: 36.44 MB / 331.9 MB, free: 34.8 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003151/0.1977, allocations: 2.323 MB / 334.2 MB, free: 32.96 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1999, allocations: 1.952 MB / 336.1 MB, free: 31.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2, allocations: 3 kB / 336.1 MB, free: 31.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2003, allocations: 28.61 kB / 336.2 MB, free: 31.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2006, allocations: 94.2 kB / 336.3 MB, free: 31.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.2011, allocations: 261.6 kB / 336.5 MB, free: 31.14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.2014, allocations: 185.6 kB / 336.7 MB, free: 31.03 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2015, allocations: 34.19 kB / 336.7 MB, free: 31.01 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.2016, allocations: 58.72 kB / 336.8 MB, free: 30.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.2017, allocations: 62.97 kB / 336.8 MB, free: 30.95 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2017, allocations: 7.625 kB / 336.9 MB, free: 30.95 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.2022, allocations: 231.9 kB / 337.1 MB, free: 30.83 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.2022, allocations: 24.61 kB / 337.1 MB, free: 30.81 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.2023, allocations: 71.19 kB / 337.2 MB, free: 30.77 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.2027, allocations: 296.6 kB / 337.5 MB, free: 30.6 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2027, allocations: 1.406 kB / 337.5 MB, free: 30.6 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2027, allocations: 0 / 337.5 MB, free: 30.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2027, allocations: 0 / 337.5 MB, free: 30.6 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000534/0.2033, allocations: 480.6 kB / 337.9 MB, free: 30.12 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2033, allocations: 8.031 kB / 337.9 MB, free: 30.11 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.2034, allocations: 20.73 kB / 338 MB, free: 30.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2036, allocations: 208 kB / 338.2 MB, free: 29.85 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2036, allocations: 8.375 kB / 338.2 MB, free: 29.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2036, allocations: 19.94 kB / 338.2 MB, free: 29.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2038, allocations: 125.4 kB / 338.3 MB, free: 29.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2039, allocations: 0 / 338.3 MB, free: 29.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2039, allocations: 4 kB / 338.3 MB, free: 29.69 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2039, allocations: 7.984 kB / 338.3 MB, free: 29.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.2041, allocations: 119.9 kB / 338.4 MB, free: 29.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.205, allocations: 0.9189 MB / 339.4 MB, free: 28.49 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.2051, allocations: 62.44 kB / 339.4 MB, free: 28.42 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.2051, allocations: 28.97 kB / 339.5 MB, free: 28.39 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.2052, allocations: 81.11 kB / 339.5 MB, free: 28.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2053, allocations: 34.56 kB / 339.6 MB, free: 28.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2053, allocations: 0 / 339.6 MB, free: 28.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002525/0.2055, allocations: 105.5 kB / 339.7 MB, free: 28.14 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2056, allocations: 51.41 kB / 339.7 MB, free: 28.08 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2057, allocations: 207.8 kB / 339.9 MB, free: 27.86 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.2057, allocations: 25.7 kB / 339.9 MB, free: 27.83 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2058, allocations: 123.8 kB / 340.1 MB, free: 27.71 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.2058, allocations: 23.72 kB / 340.1 MB, free: 27.68 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2059, allocations: 29.7 kB / 340.1 MB, free: 27.65 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.2059, allocations: 334.8 kB / 340.4 MB, free: 27.31 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.206, allocations: 20 kB / 340.5 MB, free: 27.29 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.206, allocations: 31.98 kB / 340.5 MB, free: 27.26 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2061, allocations: 52.84 kB / 340.5 MB, free: 27.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2062, allocations: 4 kB / 340.6 MB, free: 27.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.2063, allocations: 117.4 kB / 340.7 MB, free: 27.08 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2063, allocations: 10.5 kB / 340.7 MB, free: 27.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2064, allocations: 3.938 kB / 340.7 MB, free: 27.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2064, allocations: 0 / 340.7 MB, free: 27.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.2065, allocations: 24.48 kB / 340.7 MB, free: 27.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2065, allocations: 4 kB / 340.7 MB, free: 27.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.2065, allocations: 7.906 kB / 340.7 MB, free: 27.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2066, allocations: 7.938 kB / 340.7 MB, free: 27.03 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 7.208e-05/0.2066, allocations: 135 kB / 340.9 MB, free: 26.89 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.2067, allocations: 11.81 kB / 340.9 MB, free: 26.88 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.2069, allocations: 98.66 kB / 341 MB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2069, allocations: 4 kB / 341 MB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2069, allocations: 0 / 341 MB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2069, allocations: 0 / 341 MB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.2072, allocations: 387.2 kB / 341.3 MB, free: 26.33 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2072, allocations: 0 / 341.3 MB, free: 26.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.2073, allocations: 19.92 kB / 341.4 MB, free: 26.31 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2073, allocations: 0 / 341.4 MB, free: 26.31 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2073, allocations: 0 / 341.4 MB, free: 26.31 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2073, allocations: 32 / 341.4 MB, free: 26.31 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2073, allocations: 11.94 kB / 341.4 MB, free: 26.3 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2076, allocations: 0.7636 MB / 342.1 MB, free: 25.48 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.2077, allocations: 104.8 kB / 342.2 MB, free: 25.36 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2077, allocations: 3.938 kB / 342.2 MB, free: 25.35 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.2078, allocations: 4 kB / 342.2 MB, free: 25.35 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.2078, allocations: 11.98 kB / 342.3 MB, free: 25.34 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2078, allocations: 0 / 342.3 MB, free: 25.34 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.2079, allocations: 156.7 kB / 342.4 MB, free: 25.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2079, allocations: 0 / 342.4 MB, free: 25.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.2084, allocations: 83.92 kB / 342.5 MB, free: 25.1 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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.0002546/0.2086, allocations: 191.1 kB / 342.7 MB, free: 24.91 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.2088, allocations: 55.92 kB / 342.7 MB, free: 24.85 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2088, allocations: 4 kB / 342.7 MB, free: 24.85 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.2088, allocations: 27.92 kB / 342.8 MB, free: 24.82 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.2094, allocations: 70.44 kB / 342.8 MB, free: 24.75 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.2099, allocations: 411.7 kB / 343.2 MB, free: 24.31 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.21, allocations: 0.7127 MB / 344 MB, free: 23.57 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.2101, allocations: 25.66 kB / 344 MB, free: 23.54 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.2102, allocations: 23.44 kB / 344 MB, free: 23.52 MB / 234.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2102, allocations: 0 / 344 MB, free: 23.52 MB / 234.7 MB Notification: Performance of Templates: time 0.005186/0.2154, allocations: 3.494 MB / 347.5 MB, free: 20.06 MB / 234.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)