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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001021/0.001021, allocations: 145.7 kB / 7.616 MB, free: 1.438 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 1.427/1.427, allocations: 150.6 MB / 158.6 MB, free: 6.176 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: 97.41 kB / 193.6 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05007/0.05007, allocations: 11.73 MB / 240.2 MB, free: 2.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.799e-05, allocations: 4 kB / 283.6 MB, free: 31.15 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08687, allocations: 37.12 MB / 320.7 MB, free: 10 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.4057, allocations: 50.97 MB / 371.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.406, allocations: 63.97 kB / 371.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02232/0.4283, allocations: 7.953 MB / 379.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4284, allocations: 4 kB / 379.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4284, allocations: 4 kB / 379.7 MB, free: 5.777 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.0006861/0.4291, allocations: 0.5139 MB / 380.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/0.4292, allocations: 8.031 kB / 380.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.4292, allocations: 27.72 kB / 380.2 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.4296, allocations: 270.6 kB / 380.5 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4297, allocations: 4 kB / 380.5 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.4297, allocations: 8 kB / 380.5 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002678/0.43, allocations: 128 kB / 380.6 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4303, allocations: 171.8 kB / 380.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4303, allocations: 0 / 380.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4303, allocations: 0 / 380.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.4303, allocations: 8 kB / 380.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4318, allocations: 1.324 MB / 382.1 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.4322, allocations: 90.61 kB / 382.2 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.4322, allocations: 36.84 kB / 382.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.524e-05/0.4323, allocations: 85.06 kB / 382.3 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4324, allocations: 30.56 kB / 382.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4324, allocations: 8.594 kB / 382.4 MB, free: 2.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001126/0.4335, allocations: 308.7 kB / 382.7 MB, free: 2.441 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.4336, allocations: 59.41 kB / 382.7 MB, free: 2.371 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.0002541/0.4338, allocations: 192.4 kB / 382.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4338, allocations: 29.7 kB / 383 MB, free: 2.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.434, allocations: 175.8 kB / 383.1 MB, free: 1.961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.434, allocations: 35.45 kB / 383.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.434, allocations: 3.938 kB / 383.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4342, allocations: 326.8 kB / 383.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.4343, allocations: 39.98 kB / 383.5 MB, free: 1.555 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4344, allocations: 88.11 kB / 383.6 MB, free: 1.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.4347, allocations: 75.95 kB / 383.7 MB, free: 1.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4347, allocations: 32 / 383.7 MB, free: 1.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004595/0.4351, allocations: 210.8 kB / 383.9 MB, free: 1.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4352, allocations: 4 kB / 383.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4352, allocations: 7.984 kB / 383.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4352, allocations: 0 / 383.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.4354, allocations: 44.09 kB / 383.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4354, allocations: 8 kB / 383.9 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4356, allocations: 19.98 kB / 384 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4356, allocations: 11.98 kB / 384 MB, free: 1.074 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 0.0001034/0.4357, allocations: 104.9 kB / 384.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.4358, allocations: 23.77 kB / 384.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.4362, allocations: 175.3 kB / 384.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4362, allocations: 4 kB / 384.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4362, allocations: 0 / 384.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4363, allocations: 0 / 384.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4365, allocations: 234.1 kB / 384.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.4366, allocations: 4 kB / 384.5 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.4367, allocations: 43.91 kB / 384.6 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.4367, allocations: 7.969 kB / 384.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4368, allocations: 4 kB / 384.6 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4368, allocations: 3.953 kB / 384.6 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4368, allocations: 4 kB / 384.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.4372, allocations: 243.2 kB / 384.8 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4374, allocations: 116.8 kB / 384.9 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4374, allocations: 0 / 384.9 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4376, allocations: 19.97 kB / 384.9 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.4376, allocations: 15.94 kB / 385 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4376, allocations: 4 kB / 385 MB, free: 8 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.4378, allocations: 156.5 kB / 385.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4378, allocations: 4 kB / 385.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.4382, allocations: 99.86 kB / 385.2 MB, free: 15.75 MB / 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: 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.0002848/0.4385, allocations: 171 kB / 385.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.4387, allocations: 103.9 kB / 385.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4387, allocations: 0 / 385.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.4388, allocations: 52.17 kB / 385.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.4394, allocations: 95.08 kB / 385.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.44, allocations: 245 kB / 385.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4404, allocations: 0.7477 MB / 386.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.4406, allocations: 34.53 kB / 386.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.4406, allocations: 19.44 kB / 386.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4406, allocations: 0 / 386.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.00686/0.4475, allocations: 3.196 MB / 389.9 MB, free: 11.08 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)