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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.002828/0.002828, allocations: 150.4 kB / 7.429 MB, free: 2.527 MB / 5.871 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.7496/0.7496, allocations: 150.5 MB / 158.4 MB, free: 6.293 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001346/0.001346, allocations: 78.14 kB / 193.3 MB, free: 1.191 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04676/0.04676, allocations: 11.72 MB / 239.9 MB, free: 2.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.931e-06, allocations: 4 kB / 283.1 MB, free: 31.46 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05319/0.05321, allocations: 37.13 MB / 320.2 MB, free: 10.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.2078, allocations: 51.39 MB / 371.6 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.2081, allocations: 63.97 kB / 371.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.03602/0.2441, allocations: 14.75 MB / 386.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.912e-05/0.2442, allocations: 23.94 kB / 386.4 MB, free: 14.71 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001367/0.2456, allocations: 0.9551 MB / 387.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2456, allocations: 16.02 kB / 387.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2458, allocations: 98.78 kB / 387.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2468, allocations: 0.6445 MB / 388.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2469, allocations: 16 kB / 388.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.2469, allocations: 24 kB / 388.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007507/0.2477, allocations: 0.5135 MB / 388.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.2484, allocations: 0.4926 MB / 389.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2485, allocations: 0 / 389.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.2485, allocations: 11.83 kB / 389.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.2485, allocations: 12 kB / 389.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.2517, allocations: 2.52 MB / 391.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2528, allocations: 463.7 kB / 392.2 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.2531, allocations: 244.8 kB / 392.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.2531, allocations: 7.984 kB / 392.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2532, allocations: 38.5 kB / 392.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/0.2532, allocations: 0 / 392.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001335/0.2545, allocations: 0.6703 MB / 393.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2546, allocations: 55.41 kB / 393.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.2555, allocations: 0.813 MB / 394 MB, free: 6.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2556, allocations: 29.69 kB / 394 MB, free: 6.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2557, allocations: 279.7 kB / 394.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.2558, allocations: 90.66 kB / 394.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.2558, allocations: 0 / 394.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2559, allocations: 325.9 kB / 394.7 MB, free: 6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2563, allocations: 236.9 kB / 394.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.2566, allocations: 323.1 kB / 395.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.2575, allocations: 371.4 kB / 395.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2575, allocations: 0 / 395.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001431/0.259, allocations: 0.7617 MB / 396.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.259, allocations: 11.34 kB / 396.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.259, allocations: 4 kB / 396.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.259, allocations: 4.25 kB / 396.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.2594, allocations: 103.8 kB / 396.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2595, allocations: 7.984 kB / 396.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.2598, allocations: 31.69 kB / 396.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.2598, allocations: 31.98 kB / 396.6 MB, free: 4.094 MB / 266.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,VR30.MeteringTable.tableID,VR10.MeteringTable.tableID,VR100.MeteringTable.tableID) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2599, allocations: 122.1 kB / 396.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2601, allocations: 82.97 kB / 396.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.2615, allocations: 0.778 MB / 397.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2615, allocations: 4 kB / 397.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2615, allocations: 0 / 397.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2615, allocations: 3.984 kB / 397.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.2623, allocations: 0.5912 MB / 398.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2623, allocations: 0 / 398.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.2626, allocations: 71.89 kB / 398.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2626, allocations: 8 kB / 398.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.2626, allocations: 4 kB / 398.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.2627, allocations: 4 kB / 398.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2627, allocations: 3.938 kB / 398.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001291/0.264, allocations: 0.7986 MB / 399 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.2643, allocations: 239.9 kB / 399.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2644, allocations: 0 / 399.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.2647, allocations: 11.98 kB / 399.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.2647, allocations: 19.97 kB / 399.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.2648, allocations: 27.98 kB / 399.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0006787/0.2655, allocations: 0.624 MB / 399.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.2661, allocations: 219.5 kB / 400.2 MB, free: 420 kB / 266.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 () * 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 (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.0005692/0.2667, allocations: 303.9 kB / 400.4 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005772/0.2672, allocations: 448 kB / 400.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2673, allocations: 0 / 400.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.2675, allocations: 223.7 kB / 401.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.2684, allocations: 159.7 kB / 401.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2701, allocations: 1.089 MB / 402.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/0.2708, allocations: 1.094 MB / 403.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2708, allocations: 0 / 403.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01367/0.2845, allocations: 7.854 MB / 411.3 MB, free: 5.266 MB / 282.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)