Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0008598/0.0008598, allocations: 144.6 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.443/1.443, 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.001292/0.001292, allocations: 86.23 kB / 193.6 MB, free: 1.102 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.07118/0.07118, allocations: 11.72 MB / 240.2 MB, free: 2.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.728e-06, allocations: 0 / 283.6 MB, free: 31.14 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08824, allocations: 37.13 MB / 320.7 MB, free: 9.988 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.3997, allocations: 49.54 MB / 370.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4, allocations: 59.97 kB / 370.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.412, allocations: 4.541 MB / 374.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.412, allocations: 0 / 374.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4121, allocations: 4 kB / 374.8 MB, free: 10.59 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006132/0.4127, allocations: 472.5 kB / 375.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4127, allocations: 8.031 kB / 375.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.4129, allocations: 23.81 kB / 375.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4131, allocations: 215.7 kB / 375.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.4132, allocations: 11.95 kB / 375.6 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4132, allocations: 8 kB / 375.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002151/0.4134, allocations: 99.98 kB / 375.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4138, allocations: 167.5 kB / 375.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4138, allocations: 0 / 375.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.4138, allocations: 0 / 375.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4138, allocations: 4 kB / 375.8 MB, free: 9.492 MB / 250.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001165/0.415, allocations: 0.8964 MB / 376.7 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.4153, allocations: 146.7 kB / 376.9 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4155, allocations: 56.84 kB / 376.9 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4155, allocations: 3.984 kB / 376.9 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4155, allocations: 34.88 kB / 377 MB, free: 8.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.4155, allocations: 0 / 377 MB, free: 8.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001368/0.4169, allocations: 0.5353 MB / 377.5 MB, free: 7.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.417, allocations: 81.11 kB / 377.6 MB, free: 7.547 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4171, allocations: 131.6 kB / 377.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.4171, allocations: 25.7 kB / 377.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.4172, allocations: 128.3 kB / 377.9 MB, free: 7.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.4173, allocations: 71 kB / 377.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.4173, allocations: 0 / 377.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4175, allocations: 326.8 kB / 378.2 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.4176, allocations: 56.97 kB / 378.3 MB, free: 6.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.4177, allocations: 81.03 kB / 378.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.4179, allocations: 55.97 kB / 378.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4179, allocations: 0 / 378.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000383/0.4183, allocations: 176.4 kB / 378.6 MB, free: 6.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.4184, allocations: 33.66 kB / 378.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4184, allocations: 0 / 378.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4184, allocations: 7.984 kB / 378.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.4187, allocations: 59.91 kB / 378.7 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4187, allocations: 4.094 kB / 378.7 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4188, allocations: 11.98 kB / 378.7 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.4188, allocations: 8 kB / 378.7 MB, free: 6.34 MB / 250.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real 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 (23): * Single equations (assignments): 22 * 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 0.0001643/0.419, allocations: 146.5 kB / 378.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.4191, allocations: 15.81 kB / 378.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.4194, allocations: 192.9 kB / 379.1 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4195, allocations: 0 / 379.1 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4195, allocations: 0 / 379.1 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4195, allocations: 4 kB / 379.1 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.4201, allocations: 479 kB / 379.5 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4201, allocations: 0 / 379.5 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.4204, allocations: 59.91 kB / 379.6 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.4204, allocations: 3.953 kB / 379.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4205, allocations: 7.984 kB / 379.6 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4205, allocations: 4 kB / 379.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4205, allocations: 0 / 379.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.421, allocations: 323.8 kB / 379.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4211, allocations: 104.9 kB / 380 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4211, allocations: 3.953 kB / 380 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4213, allocations: 7.984 kB / 380 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.4214, allocations: 20.05 kB / 380.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4214, allocations: 4 kB / 380.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.4215, allocations: 116 kB / 380.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4215, allocations: 0 / 380.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.4218, allocations: 51.94 kB / 380.2 MB, free: 4.734 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0001941/0.422, allocations: 111.2 kB / 380.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.4223, allocations: 179.3 kB / 380.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4223, allocations: 192 / 380.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.4225, allocations: 127.3 kB / 380.6 MB, free: 4.289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.4229, allocations: 50.23 kB / 380.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.4236, allocations: 293.4 kB / 381 MB, free: 3.934 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4239, allocations: 0.7399 MB / 381.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.4241, allocations: 13.86 kB / 381.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.4242, allocations: 23.42 kB / 381.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4242, allocations: 4 kB / 381.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of Templates: time 0.005092/0.4293, allocations: 2.264 MB / 384 MB, free: 0.8828 MB / 250.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)