Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [: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.002374/0.002374, allocations: 148 kB / 7.428 MB, free: 2.5 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.7689/0.7689, allocations: 150.5 MB / 158.3 MB, free: 6.301 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001389/0.001389, allocations: 90.06 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.04668/0.04668, allocations: 11.72 MB / 239.9 MB, free: 2.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.949e-06/4.969e-06, allocations: 0 / 283 MB, free: 31.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05865/0.05867, allocations: 37.14 MB / 320.2 MB, free: 10.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.2201, allocations: 50.89 MB / 371.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.2203, allocations: 67.97 kB / 371.1 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.02217/0.2425, allocations: 7.686 MB / 378.8 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.2425, allocations: 4 kB / 378.8 MB, free: 6.309 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008008/0.2433, allocations: 0.5211 MB / 379.4 MB, free: 5.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2434, allocations: 12.02 kB / 379.4 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2435, allocations: 27.72 kB / 379.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.244, allocations: 258.5 kB / 379.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.244, allocations: 8 kB / 379.7 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.244, allocations: 15.84 kB / 379.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002549/0.2443, allocations: 120 kB / 379.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2446, allocations: 184.4 kB / 380 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2446, allocations: 0 / 380 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2446, allocations: 0 / 380 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2446, allocations: 4 kB / 380 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.246, allocations: 1.316 MB / 381.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.2462, allocations: 53.77 kB / 381.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.2462, allocations: 36.84 kB / 381.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/0.2463, allocations: 81.27 kB / 381.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2464, allocations: 46.42 kB / 381.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2464, allocations: 0 / 381.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001156/0.2475, allocations: 326.1 kB / 381.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2476, allocations: 51.41 kB / 381.9 MB, free: 2.922 MB / 250.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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/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.0002471/0.2478, allocations: 196.1 kB / 382.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2479, allocations: 29.7 kB / 382.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.248, allocations: 155.7 kB / 382.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.248, allocations: 35.45 kB / 382.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.248, allocations: 0 / 382.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2481, allocations: 330.8 kB / 382.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.2482, allocations: 36 kB / 382.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2483, allocations: 88.58 kB / 382.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.2487, allocations: 87.86 kB / 382.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2487, allocations: 0 / 382.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000515/0.2492, allocations: 209.2 kB / 383 MB, free: 1.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2492, allocations: 4 kB / 383 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2492, allocations: 4 kB / 383 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2492, allocations: 0 / 383 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2495, allocations: 43.97 kB / 383.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2495, allocations: 12.11 kB / 383.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2497, allocations: 19.98 kB / 383.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.2497, allocations: 12 kB / 383.1 MB, free: 1.633 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.757e-05/0.2498, allocations: 118 kB / 383.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2499, allocations: 15.81 kB / 383.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.2503, allocations: 171.3 kB / 383.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2503, allocations: 4 kB / 383.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2503, allocations: 3.906 kB / 383.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2504, allocations: 0 / 383.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.2506, allocations: 242.1 kB / 383.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2506, allocations: 4 kB / 383.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.2508, allocations: 43.84 kB / 383.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2508, allocations: 0 / 383.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2509, allocations: 0 / 383.7 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2509, allocations: 4 kB / 383.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2509, allocations: 0 / 383.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004365/0.2513, allocations: 255.4 kB / 384 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2514, allocations: 112.8 kB / 384.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.2515, allocations: 0 / 384.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2517, allocations: 27.97 kB / 384.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2517, allocations: 7.984 kB / 384.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2517, allocations: 4 kB / 384.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.0001281/0.2519, allocations: 156.5 kB / 384.3 MB, free: 424 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.2522, allocations: 107.7 kB / 384.4 MB, free: 316 kB / 250.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002872/0.2525, allocations: 171.1 kB / 384.5 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.2528, allocations: 108.5 kB / 384.6 MB, free: 24 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2528, allocations: 0 / 384.6 MB, free: 24 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2529, allocations: 55.91 kB / 384.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.2535, allocations: 82.22 kB / 384.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.2541, allocations: 244.3 kB / 385 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.2546, allocations: 0.7744 MB / 385.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2546, allocations: 0 / 385.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.007111/0.2617, allocations: 3.593 MB / 389.4 MB, free: 11.27 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)