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.0006525/0.0006526, allocations: 146 kB / 15.74 MB, free: 5.977 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.7968/0.7968, allocations: 150.7 MB / 167.2 MB, free: 5.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001173/0.001173, allocations: 77.97 kB / 202.4 MB, free: 2.562 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04535/0.04535, allocations: 11.84 MB / 249.5 MB, free: 0.5703 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 8.688 kB / 297.1 MB, free: 26.87 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04522/0.04552, allocations: 37.14 MB / 334.2 MB, free: 6.012 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001735/0.04729, allocations: 1.911 MB / 336.2 MB, free: 4.082 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.04907, allocations: 1.734 MB / 337.9 MB, free: 2.344 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.04916, allocations: 7.938 kB / 337.9 MB, free: 2.336 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.04932, allocations: 31.81 kB / 337.9 MB, free: 2.305 MB / 218.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.04954, allocations: 123.1 kB / 338 MB, free: 2.184 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.04998, allocations: 259.1 kB / 338.3 MB, free: 1.93 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.05014, allocations: 175 kB / 338.5 MB, free: 1.758 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.05023, allocations: 29.52 kB / 338.5 MB, free: 1.73 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.05031, allocations: 55.8 kB / 338.6 MB, free: 1.676 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.0504, allocations: 71.7 kB / 338.6 MB, free: 1.605 MB / 218.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.05042, allocations: 4 kB / 338.6 MB, free: 1.602 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.05076, allocations: 219.7 kB / 338.8 MB, free: 1.387 MB / 218.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.05079, allocations: 19.92 kB / 338.9 MB, free: 1.367 MB / 218.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.05083, allocations: 49.64 kB / 338.9 MB, free: 1.312 MB / 218.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.05107, allocations: 207.8 kB / 339.1 MB, free: 1.109 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.05108, allocations: 8 kB / 339.1 MB, free: 1.102 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.05109, allocations: 0 / 339.1 MB, free: 1.102 MB / 218.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.0511, allocations: 0 / 339.1 MB, free: 1.102 MB / 218.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.0004108/0.05151, allocations: 450.5 kB / 339.6 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.05155, allocations: 12.03 kB / 339.6 MB, free: 0.6016 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.05159, allocations: 15.81 kB / 339.6 MB, free: 0.5859 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.05177, allocations: 206.9 kB / 339.8 MB, free: 352 kB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.05179, allocations: 11.95 kB / 339.8 MB, free: 340 kB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.05181, allocations: 4 kB / 339.8 MB, free: 336 kB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.05201, allocations: 129.4 kB / 339.9 MB, free: 200 kB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.05203, allocations: 0 / 339.9 MB, free: 200 kB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.05205, allocations: 7.984 kB / 339.9 MB, free: 192 kB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.05206, allocations: 7.984 kB / 339.9 MB, free: 184 kB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.05224, allocations: 111.9 kB / 340.1 MB, free: 72 kB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.0532, allocations: 0.9189 MB / 341 MB, free: 15 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.05334, allocations: 66.44 kB / 341 MB, free: 14.92 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.05341, allocations: 28.98 kB / 341.1 MB, free: 14.89 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.05352, allocations: 89.09 kB / 341.2 MB, free: 14.79 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.05354, allocations: 38.5 kB / 341.2 MB, free: 14.74 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.05355, allocations: 3.938 kB / 341.2 MB, free: 14.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002269/0.05378, allocations: 93.58 kB / 341.3 MB, free: 14.64 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.05381, allocations: 55.41 kB / 341.3 MB, free: 14.57 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.05398, allocations: 207.7 kB / 341.5 MB, free: 14.35 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.054, allocations: 29.7 kB / 341.6 MB, free: 14.32 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.05407, allocations: 120.1 kB / 341.7 MB, free: 14.2 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.05409, allocations: 15.75 kB / 341.7 MB, free: 14.18 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.05411, allocations: 7.938 kB / 341.7 MB, free: 14.17 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.05419, allocations: 322.8 kB / 342 MB, free: 13.85 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.05426, allocations: 27.98 kB / 342.1 MB, free: 13.82 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.05431, allocations: 27.98 kB / 342.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.05438, allocations: 32 kB / 342.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.05438, allocations: 0 / 342.1 MB, free: 13.76 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.05457, allocations: 121.4 kB / 342.2 MB, free: 13.64 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.05459, allocations: 8 kB / 342.2 MB, free: 13.63 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.05459, allocations: 3.984 kB / 342.2 MB, free: 13.62 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.05461, allocations: 3.984 kB / 342.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.0547, allocations: 16 kB / 342.3 MB, free: 13.61 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.05471, allocations: 0 / 342.3 MB, free: 13.61 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.05478, allocations: 19.83 kB / 342.3 MB, free: 13.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.0548, allocations: 0 / 342.3 MB, free: 13.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/0.05489, allocations: 125.8 kB / 342.4 MB, free: 13.45 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.05493, allocations: 23.77 kB / 342.4 MB, free: 13.43 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.05512, allocations: 98.88 kB / 342.5 MB, free: 13.32 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.05513, allocations: 0 / 342.5 MB, free: 13.32 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.05514, allocations: 0 / 342.5 MB, free: 13.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.05515, allocations: 0 / 342.5 MB, free: 13.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.05552, allocations: 387.2 kB / 342.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.05554, allocations: 8.031 kB / 342.9 MB, free: 12.88 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.05559, allocations: 15.98 kB / 342.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0556, allocations: 0 / 342.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.05561, allocations: 0 / 342.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.05561, allocations: 4 kB / 342.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.05562, allocations: 0 / 342.9 MB, free: 12.86 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.05578, allocations: 184.5 kB / 343.1 MB, free: 12.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.05586, allocations: 108.8 kB / 343.2 MB, free: 12.54 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.05589, allocations: 8.062 kB / 343.2 MB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.05597, allocations: 4 kB / 343.2 MB, free: 12.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.05599, allocations: 7.984 kB / 343.2 MB, free: 12.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.056, allocations: 0 / 343.2 MB, free: 12.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.05611, allocations: 155 kB / 343.4 MB, free: 12.36 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05612, allocations: 0 / 343.4 MB, free: 12.36 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.0564, allocations: 87.92 kB / 343.5 MB, free: 12.28 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 (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.0002211/0.05663, allocations: 175.2 kB / 343.6 MB, free: 12.09 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.05678, allocations: 63.91 kB / 343.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05679, allocations: 0 / 343.7 MB, free: 12.03 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.05684, allocations: 27.91 kB / 343.7 MB, free: 12 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.05733, allocations: 77.02 kB / 343.8 MB, free: 11.93 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.05774, allocations: 340.3 kB / 344.1 MB, free: 11.56 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.05796, allocations: 0.7088 MB / 344.9 MB, free: 10.83 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.05801, allocations: 19.42 kB / 344.9 MB, free: 10.81 MB / 234.7 MB Notification: Performance of SimCode: time 2.3e-07/0.05801, allocations: 0 / 344.9 MB, free: 10.81 MB / 234.7 MB Notification: Performance of Templates: time 0.00381/0.06183, allocations: 2.877 MB / 347.8 MB, free: 7.938 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)