Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [: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.002602/0.002602, allocations: 149.1 kB / 7.422 MB, free: 2.52 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.7537/0.7537, allocations: 150.5 MB / 158.4 MB, free: 6.266 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001265/0.001265, allocations: 86.84 kB / 193.3 MB, free: 1.172 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04652/0.04652, allocations: 11.72 MB / 239.9 MB, free: 2.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.18e-06, allocations: 0 / 283.1 MB, free: 31.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05605/0.05607, allocations: 37.13 MB / 320.2 MB, free: 10.27 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.2061, allocations: 52.19 MB / 372.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001398/0.2063, allocations: 59.98 kB / 372.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.0235/0.2298, allocations: 8.692 MB / 381.1 MB, free: 3.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.2299, allocations: 8 kB / 381.1 MB, free: 3.965 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006432/0.2305, allocations: 0.5461 MB / 381.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2306, allocations: 8.031 kB / 381.7 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.628e-05/0.2307, allocations: 39.53 kB / 381.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2311, allocations: 294.3 kB / 382 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2311, allocations: 4 kB / 382 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2312, allocations: 19.94 kB / 382 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003674/0.2315, allocations: 228.8 kB / 382.3 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2318, allocations: 198.4 kB / 382.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2318, allocations: 0 / 382.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2319, allocations: 0.75 kB / 382.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2319, allocations: 8 kB / 382.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2333, allocations: 1.278 MB / 383.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.2337, allocations: 170.8 kB / 383.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2339, allocations: 80.84 kB / 384 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.2341, allocations: 174.2 kB / 384.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2341, allocations: 39.64 kB / 384.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.2341, allocations: 0 / 384.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0223/0.2564, allocations: 2.446 MB / 386.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2565, allocations: 59.41 kB / 386.7 MB, free: 14.01 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2567, allocations: 232.9 kB / 386.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.2568, allocations: 25.7 kB / 387 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.2569, allocations: 148.3 kB / 387.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.257, allocations: 98.47 kB / 387.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.257, allocations: 0 / 387.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2571, allocations: 338.8 kB / 387.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.2575, allocations: 204 kB / 387.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2578, allocations: 243.1 kB / 388 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2591, allocations: 347.6 kB / 388.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2591, allocations: 3.938 kB / 388.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002368/0.2614, allocations: 0.7955 MB / 389.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2615, allocations: 4 kB / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2615, allocations: 4 kB / 389.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.2627, allocations: 0.7548 MB / 389.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.2629, allocations: 59.95 kB / 389.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.2662, allocations: 1.753 MB / 391.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.2668, allocations: 44.03 kB / 391.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.2669, allocations: 24.03 kB / 391.7 MB, free: 8.859 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.restriction.port_a.p:DUMMY_DER(flow=false fixed = false ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (throttleValve.data.zetaLaminarKnown,throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.267, allocations: 113.4 kB / 391.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.2671, allocations: 31.62 kB / 391.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.2695, allocations: 0.8453 MB / 392.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2695, allocations: 4.125 kB / 392.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2695, allocations: 11.94 kB / 392.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2695, allocations: 3.984 kB / 392.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/0.2737, allocations: 1.653 MB / 394.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2738, allocations: 0 / 394.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.274, allocations: 60.03 kB / 394.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009617/0.275, allocations: 0.6221 MB / 395.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.275, allocations: 11.98 kB / 395.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/0.2799, allocations: 1.831 MB / 396.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.2799, allocations: 7.969 kB / 396.9 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001794/0.2817, allocations: 0.7986 MB / 397.7 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.282, allocations: 168.6 kB / 397.9 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.2821, allocations: 3.984 kB / 397.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.2826, allocations: 43.97 kB / 397.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.2827, allocations: 19.97 kB / 398 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.2827, allocations: 15.98 kB / 398 MB, free: 2.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001566/0.2829, allocations: 187.1 kB / 398.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006669/0.2836, allocations: 251.7 kB / 398.4 MB, free: 1.992 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007306/0.2843, allocations: 310.2 kB / 398.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.2859, allocations: 0.5267 MB / 399.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2859, allocations: 128 / 399.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.2885, allocations: 415.9 kB / 399.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.2891, allocations: 92.27 kB / 399.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2902, allocations: 0.4962 MB / 400.2 MB, free: 148 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.2906, allocations: 0.823 MB / 401.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2906, allocations: 0 / 401.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01802/0.3087, allocations: 13.03 MB / 414.1 MB, free: 2.273 MB / 282.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)