Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.005463/0.005463, allocations: 144 kB / 15.09 MB, free: 5.969 MB / 13.93 MB [/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. [/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.9866/0.9866, allocations: 150.7 MB / 166.5 MB, free: 6.086 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001435/0.001435, allocations: 86.47 kB / 201.8 MB, free: 2.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04888/0.04888, allocations: 11.85 MB / 248.8 MB, free: 0.6172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 8.75 kB / 296.4 MB, free: 26.89 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07622/0.07658, allocations: 37.14 MB / 333.6 MB, free: 6.016 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07793/0.1545, allocations: 53.33 MB / 386.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.1548, allocations: 67.97 kB / 387 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1775/0.3323, allocations: 10.05 MB / 397 MB, free: 55.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3323, allocations: 0 / 397 MB, free: 55.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.3324, allocations: 10.66 kB / 397 MB, free: 55.46 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001073/0.3334, allocations: 0.6417 MB / 397.7 MB, free: 54.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3335, allocations: 8.438 kB / 397.7 MB, free: 54.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3337, allocations: 42.34 kB / 397.7 MB, free: 54.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.3341, allocations: 332.9 kB / 398.1 MB, free: 54.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.3342, allocations: 20.31 kB / 398.1 MB, free: 54.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.3342, allocations: 26.38 kB / 398.1 MB, free: 54.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.3348, allocations: 326.1 kB / 398.4 MB, free: 54.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3348, allocations: 5.375 kB / 398.4 MB, free: 54.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.3349, allocations: 18.69 kB / 398.4 MB, free: 54.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3349, allocations: 6.875 kB / 398.5 MB, free: 54.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.3354, allocations: 280.9 kB / 398.7 MB, free: 54.17 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3371, allocations: 1.553 MB / 400.3 MB, free: 52.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.3377, allocations: 272.7 kB / 400.5 MB, free: 52.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.3378, allocations: 87.81 kB / 400.6 MB, free: 52.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3378, allocations: 37.38 kB / 400.7 MB, free: 52.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3378, allocations: 0 / 400.7 MB, free: 52.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002082/0.3399, allocations: 0.9957 MB / 401.7 MB, free: 51.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.34, allocations: 58.77 kB / 401.7 MB, free: 51.74 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 sinusoid.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.0003281/0.3403, allocations: 298.5 kB / 402 MB, free: 51.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3403, allocations: 31.2 kB / 402 MB, free: 51.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.3404, allocations: 180.5 kB / 402.2 MB, free: 51.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.3405, allocations: 97.78 kB / 402.3 MB, free: 51.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.3405, allocations: 6.844 kB / 402.3 MB, free: 51.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.3406, allocations: 345.3 kB / 402.7 MB, free: 50.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.3408, allocations: 126.8 kB / 402.8 MB, free: 50.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3411, allocations: 172.8 kB / 403 MB, free: 50.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3413, allocations: 131 kB / 403.1 MB, free: 50.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3413, allocations: 0 / 403.1 MB, free: 50.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006186/0.342, allocations: 358.2 kB / 403.4 MB, free: 50.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.342, allocations: 5.625 kB / 403.4 MB, free: 50.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.342, allocations: 6.688 kB / 403.4 MB, free: 50.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.342, allocations: 4.25 kB / 403.4 MB, free: 50.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.3424, allocations: 85.89 kB / 403.5 MB, free: 50.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3424, allocations: 7.891 kB / 403.5 MB, free: 50.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3426, allocations: 17.52 kB / 403.6 MB, free: 50.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.3427, allocations: 19.36 kB / 403.6 MB, free: 50.41 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.000223/0.3429, allocations: 168.9 kB / 403.7 MB, free: 50.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.343, allocations: 36.59 kB / 403.8 MB, free: 50.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.3437, allocations: 377.4 kB / 404.1 MB, free: 50.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3437, allocations: 3.969 kB / 404.1 MB, free: 50.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3437, allocations: 0 / 404.1 MB, free: 50.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3437, allocations: 3.953 kB / 404.2 MB, free: 50.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3449, allocations: 0.8152 MB / 405 MB, free: 49.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3449, allocations: 1.219 kB / 405 MB, free: 49.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.3452, allocations: 74.08 kB / 405 MB, free: 49.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.3452, allocations: 5.297 kB / 405 MB, free: 49.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.3453, allocations: 10.52 kB / 405.1 MB, free: 49.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3453, allocations: 10.34 kB / 405.1 MB, free: 49.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3453, allocations: 0 / 405.1 MB, free: 49.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3461, allocations: 0.5712 MB / 405.6 MB, free: 49.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3463, allocations: 145.2 kB / 405.8 MB, free: 48.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.3463, allocations: 5.281 kB / 405.8 MB, free: 48.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3465, allocations: 30.84 kB / 405.8 MB, free: 48.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.3466, allocations: 16.09 kB / 405.8 MB, free: 48.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.3466, allocations: 16.25 kB / 405.8 MB, free: 48.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3469, allocations: 240.2 kB / 406.1 MB, free: 48.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3469, allocations: 1.375 kB / 406.1 MB, free: 48.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.3474, allocations: 136.2 kB / 406.2 MB, free: 48.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004513/0.3479, allocations: 237.6 kB / 406.4 MB, free: 48.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.3485, allocations: 264.4 kB / 406.7 MB, free: 48.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3485, allocations: 0 / 406.7 MB, free: 48.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.3487, allocations: 141.4 kB / 406.8 MB, free: 48.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.3496, allocations: 162.5 kB / 407 MB, free: 48.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3508, allocations: 0.9177 MB / 407.9 MB, free: 47.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3511, allocations: 0.8103 MB / 408.7 MB, free: 46.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.3513, allocations: 58.17 kB / 408.8 MB, free: 46.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.3514, allocations: 42.39 kB / 408.8 MB, free: 46.77 MB / 266.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3514, allocations: 0 / 408.8 MB, free: 46.77 MB / 266.7 MB Notification: Performance of Templates: time 0.009803/0.3612, allocations: 6.033 MB / 414.9 MB, free: 41.8 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)