Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.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.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0009057/0.000906, allocations: 144.6 kB / 16.09 MB, free: 5.715 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.9249/0.9249, allocations: 150.7 MB / 167.5 MB, free: 2.562 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001374/0.001374, allocations: 85.95 kB / 202.8 MB, free: 12.29 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1267/0.1267, allocations: 11.82 MB / 249.9 MB, free: 34.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 11.98 kB / 297.7 MB, free: 7.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06313/0.0635, allocations: 37.14 MB / 334.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.2512, allocations: 56.61 MB / 391.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.2514, allocations: 64.78 kB / 391.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03926/0.2907, allocations: 16.91 MB / 408.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2907, allocations: 0 / 408.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-05/0.2908, allocations: 15.94 kB / 408.4 MB, free: 6.273 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001914/0.2927, allocations: 0.9611 MB / 409.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2928, allocations: 12.02 kB / 409.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.2931, allocations: 91.25 kB / 409.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.294, allocations: 0.5289 MB / 410 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.2941, allocations: 43.06 kB / 410 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.2942, allocations: 64.59 kB / 410.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.2954, allocations: 0.6824 MB / 410.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.2954, allocations: 3.938 kB / 410.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.2955, allocations: 21.75 kB / 410.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2955, allocations: 20 kB / 410.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.2964, allocations: 0.538 MB / 411.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.3001, allocations: 3.469 MB / 414.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.3009, allocations: 0.5277 MB / 415.4 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3013, allocations: 214.2 kB / 415.6 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3014, allocations: 92.34 kB / 415.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3015, allocations: 42.31 kB / 415.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 3.186e-06/0.3015, allocations: 0 / 415.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.003364/0.3048, allocations: 1.593 MB / 417.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3049, allocations: 89.05 kB / 417.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.3056, allocations: 0.5319 MB / 417.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.3057, allocations: 40.45 kB / 418 MB, free: 14.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3059, allocations: 299.4 kB / 418.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.306, allocations: 150.5 kB / 418.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3061, allocations: 9.562 kB / 418.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3062, allocations: 368.2 kB / 418.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3066, allocations: 201.5 kB / 419 MB, free: 13.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3069, allocations: 302.4 kB / 419.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.3096, allocations: 1.121 MB / 420.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3097, allocations: 4 kB / 420.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001051/0.3107, allocations: 0.6137 MB / 421 MB, free: 11.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.3108, allocations: 33.7 kB / 421 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3108, allocations: 4 kB / 421 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.311, allocations: 96.81 kB / 421.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.3114, allocations: 99.89 kB / 421.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.3131, allocations: 1.643 MB / 422.9 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.3136, allocations: 79.97 kB / 422.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.3137, allocations: 24 kB / 423 MB, free: 9.484 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real idealPump.portP.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0))))))))))))))))) start = idealPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (reliefValve.variableRestriction.data.zetaLaminarKnown,idealPump.mechanicalPumpLosses.free,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.mode,reliefValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.3143, allocations: 342 kB / 423.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3144, allocations: 63.28 kB / 423.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3155, allocations: 0.5986 MB / 424 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3155, allocations: 15.97 kB / 424 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.3155, allocations: 0 / 424 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3155, allocations: 0 / 424 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3176, allocations: 1.32 MB / 425.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3176, allocations: 0 / 425.3 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.318, allocations: 87.98 kB / 425.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.3182, allocations: 88.75 kB / 425.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.3182, allocations: 11.98 kB / 425.5 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.3196, allocations: 1.504 MB / 427 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3196, allocations: 4.031 kB / 427 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3209, allocations: 0.8965 MB / 427.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.3212, allocations: 200.3 kB / 428.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3213, allocations: 16 kB / 428.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3218, allocations: 63.94 kB / 428.2 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.3221, allocations: 139.7 kB / 428.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.3221, allocations: 16 kB / 428.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000471/0.3226, allocations: 386.8 kB / 428.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3226, allocations: 0 / 428.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007391/0.3234, allocations: 219.9 kB / 428.9 MB, free: 3.254 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (idealPump.portP.p,reliefValve.valvePosition,circuitTank.volumeOpen.m,constantSpeed.phi) * Number of discrete variables: 5 (idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.mode,reliefValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 3 (idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005413/0.3239, allocations: 239.3 kB / 429.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.325, allocations: 0.6136 MB / 429.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.325, allocations: 4.188 kB / 429.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.3255, allocations: 409.8 kB / 430.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.3271, allocations: 306 kB / 430.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.3304, allocations: 1.738 MB / 432.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3309, allocations: 0.9222 MB / 433.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.3314, allocations: 97.02 kB / 433.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3315, allocations: 55.42 kB / 433.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3315, allocations: 0 / 433.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.0196/0.3511, allocations: 12.07 MB / 445.3 MB, free: 2.809 MB / 298.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1)