Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0009036/0.0009037, allocations: 146 kB / 16.08 MB, free: 5.234 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.9492/0.9492, allocations: 150.7 MB / 167.5 MB, free: 2.555 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001344/0.001344, allocations: 77.62 kB / 202.8 MB, free: 12.28 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1287/0.1287, allocations: 11.83 MB / 249.9 MB, free: 34.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 297.7 MB, free: 7.988 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06525/0.06562, allocations: 37.16 MB / 334.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.2755, allocations: 58.63 MB / 393.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.2757, allocations: 70.41 kB / 393.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06267/0.3384, allocations: 27.74 MB / 421.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3384, allocations: 0 / 421.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.3385, allocations: 31.98 kB / 421.3 MB, free: 11.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003164/0.3417, allocations: 1.36 MB / 422.6 MB, free: 9.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3418, allocations: 8.031 kB / 422.7 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.3422, allocations: 151.2 kB / 422.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.3438, allocations: 0.8806 MB / 423.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.3439, allocations: 81 kB / 423.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3441, allocations: 104.3 kB / 423.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3461, allocations: 1.145 MB / 425 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3461, allocations: 7.938 kB / 425 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.3462, allocations: 40.5 kB / 425.1 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3462, allocations: 28 kB / 425.1 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.348, allocations: 1.038 MB / 426.1 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006417/0.3545, allocations: 6.033 MB / 432.2 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3557, allocations: 0.7592 MB / 432.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/0.3563, allocations: 414.6 kB / 433.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.3566, allocations: 190.8 kB / 433.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3566, allocations: 43.2 kB / 433.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.3566, allocations: 0 / 433.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.004906/0.3615, allocations: 2.536 MB / 436.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3616, allocations: 60.06 kB / 436.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3628, allocations: 0.9178 MB / 437.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.3628, allocations: 37.7 kB / 437.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.3632, allocations: 0.5191 MB / 437.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3634, allocations: 272 kB / 437.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3635, allocations: 16 kB / 437.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3636, allocations: 338 kB / 438.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.3642, allocations: 382.6 kB / 438.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007295/0.3649, allocations: 0.5546 MB / 439.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005507/0.3705, allocations: 1.945 MB / 441.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3705, allocations: 0 / 441.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001789/0.3723, allocations: 1.074 MB / 442.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3723, allocations: 8 kB / 442.2 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3723, allocations: 11.94 kB / 442.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3724, allocations: 8 kB / 442.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.3732, allocations: 215.7 kB / 442.4 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.3733, allocations: 20.27 kB / 442.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.374, allocations: 83.94 kB / 442.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.3741, allocations: 43.98 kB / 442.6 MB, free: 5.625 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real restriction.port_b.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, 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, 1000000000.0)))))))))))))))) start = restriction.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real restriction.port_a.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, 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, 1000000000.0)))))))))))))))) start = restriction.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: 24 * Number of states: 0 () * Number of discrete variables: 9 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown,valve4_3pos.P2A.MeteringTable.tableID,valve4_3pos.B2T.MeteringTable.tableID,valve4_3pos.P2B.MeteringTable.tableID,valve4_3pos.A2T.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0007387/0.3748, allocations: 0.4947 MB / 443.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.375, allocations: 106.7 kB / 443.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.377, allocations: 1.102 MB / 444.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.377, allocations: 12 kB / 444.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.377, allocations: 3.938 kB / 444.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.377, allocations: 3.984 kB / 444.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.3808, allocations: 2.457 MB / 446.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.3808, allocations: 4 kB / 446.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.3815, allocations: 179.8 kB / 446.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3815, allocations: 8.219 kB / 446.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.3816, allocations: 27.98 kB / 447 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3816, allocations: 4 kB / 447 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3816, allocations: 4 kB / 447 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.384, allocations: 1.607 MB / 448.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.3844, allocations: 291.7 kB / 448.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.3846, allocations: 16 kB / 448.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.3851, allocations: 59.95 kB / 448.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3852, allocations: 68.78 kB / 449 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.3853, allocations: 39.98 kB / 449 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008389/0.3862, allocations: 0.6254 MB / 449.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3862, allocations: 0 / 449.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.3872, allocations: 363.8 kB / 450 MB, free: 13.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,restriction.port_a.p,restriction.port_b.p,circuitTank.volumeOpen.m,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * Number of discrete variables: 4 (valve4_3pos.P2A.MeteringTable.tableID,valve4_3pos.B2T.MeteringTable.tableID,valve4_3pos.P2B.MeteringTable.tableID,valve4_3pos.A2T.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008098/0.388, allocations: 414.8 kB / 450.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.3894, allocations: 0.8411 MB / 451.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3894, allocations: 0 / 451.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.3901, allocations: 441.5 kB / 451.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.3926, allocations: 486.6 kB / 452.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.3967, allocations: 2.68 MB / 454.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.3975, allocations: 1.139 MB / 456 MB, free: 8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009068/0.3985, allocations: 212 kB / 456.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.3988, allocations: 99.41 kB / 456.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3988, allocations: 0 / 456.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of Templates: time 0.03064/0.4294, allocations: 18.77 MB / 475.1 MB, free: 4.969 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1)