Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001225/0.001225, allocations: 151.3 kB / 7.619 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.741/1.741, allocations: 150.6 MB / 158.6 MB, free: 6.172 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001483/0.001483, allocations: 86.28 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.05178/0.05178, allocations: 11.72 MB / 240.2 MB, free: 2.406 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.169e-05, allocations: 0 / 283.6 MB, free: 31.16 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08926, allocations: 37.12 MB / 320.7 MB, free: 10.01 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/0.3243, allocations: 47.93 MB / 368.6 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001423/0.3244, allocations: 63.97 kB / 368.7 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007825/0.3323, allocations: 2.987 MB / 371.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3323, allocations: 0 / 371.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.3324, allocations: 4 kB / 371.7 MB, free: 13.81 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004538/0.3328, allocations: 416.7 kB / 372.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.3329, allocations: 12.03 kB / 372.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.3329, allocations: 7.906 kB / 372.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3331, allocations: 206.8 kB / 372.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3332, allocations: 4 kB / 372.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3332, allocations: 11.95 kB / 372.3 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.3333, allocations: 56.73 kB / 372.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3335, allocations: 80.16 kB / 372.4 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3335, allocations: 4 kB / 372.4 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3335, allocations: 0 / 372.4 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3335, allocations: 7.984 kB / 372.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.3342, allocations: 0.5323 MB / 373 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3343, allocations: 74.56 kB / 373.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.3344, allocations: 36.97 kB / 373.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3344, allocations: 8.125 kB / 373.1 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3345, allocations: 42.48 kB / 373.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3345, allocations: 0 / 373.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006771/0.3351, allocations: 189.1 kB / 373.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3352, allocations: 77.11 kB / 373.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.3353, allocations: 117.1 kB / 373.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3353, allocations: 29.7 kB / 373.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.3354, allocations: 104 kB / 373.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3354, allocations: 35.45 kB / 373.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.3354, allocations: 4 kB / 373.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3355, allocations: 314.8 kB / 374 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.3356, allocations: 23.98 kB / 374 MB, free: 11.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.3357, allocations: 41.66 kB / 374.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3358, allocations: 27.92 kB / 374.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3358, allocations: 4 kB / 374.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.336, allocations: 102.1 kB / 374.2 MB, free: 11.03 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.336, allocations: 37.69 kB / 374.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3361, allocations: 4 kB / 374.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3361, allocations: 96 / 374.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3363, allocations: 35.91 kB / 374.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3363, allocations: 0 / 374.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3364, allocations: 23.98 kB / 374.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3364, allocations: 4 kB / 374.3 MB, free: 10.92 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 9.233e-05/0.3365, allocations: 138.6 kB / 374.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3366, allocations: 11.91 kB / 374.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3368, allocations: 127 kB / 374.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3369, allocations: 0 / 374.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3369, allocations: 0 / 374.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3369, allocations: 0 / 374.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3371, allocations: 186.1 kB / 374.7 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3371, allocations: 3.938 kB / 374.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3372, allocations: 35.97 kB / 374.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.3373, allocations: 4 kB / 374.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3373, allocations: 4 kB / 374.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3373, allocations: 3.938 kB / 374.8 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3373, allocations: 3.953 kB / 374.8 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3375, allocations: 201 kB / 375 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3376, allocations: 93 kB / 375.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3376, allocations: 0 / 375.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3378, allocations: 23.97 kB / 375.1 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3378, allocations: 15.94 kB / 375.1 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3379, allocations: 0 / 375.1 MB, free: 9.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.3379, allocations: 103.3 kB / 375.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3379, allocations: 0 / 375.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.3382, allocations: 31.98 kB / 375.3 MB, free: 9.855 MB / 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.000121/0.3383, allocations: 103.2 kB / 375.4 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3385, allocations: 123.3 kB / 375.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3385, allocations: 0 / 375.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.3386, allocations: 95.34 kB / 375.6 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.339, allocations: 40.02 kB / 375.6 MB, free: 9.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.3393, allocations: 140.8 kB / 375.8 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3396, allocations: 0.7119 MB / 376.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.493e-05/0.3397, allocations: 13.05 kB / 376.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.3398, allocations: 15.44 kB / 376.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3398, allocations: 3.938 kB / 376.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of Templates: time 0.004316/0.3441, allocations: 1.737 MB / 378.2 MB, free: 6.824 MB / 250.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)