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.000979/0.0009793, allocations: 145.9 kB / 12.7 MB, free: 2.617 MB / 13.93 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.109/1.109, allocations: 150.5 MB / 163.7 MB, free: 2.371 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001348/0.001348, allocations: 86.25 kB / 198.8 MB, free: 12.97 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1658/0.1658, allocations: 11.71 MB / 245.5 MB, free: 34.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.713e-05, allocations: 4 kB / 290.5 MB, free: 11.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09552, allocations: 37.15 MB / 327.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.3777, allocations: 48.59 MB / 376.2 MB, free: 24.8 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.378, allocations: 59.17 kB / 376.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008693/0.3867, allocations: 3.008 MB / 379.3 MB, free: 24.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3868, allocations: 4 kB / 379.3 MB, free: 24.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3868, allocations: 0 / 379.3 MB, free: 24.17 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004227/0.3872, allocations: 417.6 kB / 379.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3873, allocations: 11.53 kB / 379.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3873, allocations: 11.11 kB / 379.7 MB, free: 23.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3875, allocations: 207.7 kB / 380 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3875, allocations: 11.59 kB / 380 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3876, allocations: 11.61 kB / 380 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3877, allocations: 88.14 kB / 380.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3878, allocations: 0 / 380.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3878, allocations: 7.719 kB / 380.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3878, allocations: 0 / 380.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3879, allocations: 60.55 kB / 380.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.3885, allocations: 0.5863 MB / 380.7 MB, free: 23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3887, allocations: 79.41 kB / 380.8 MB, free: 22.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.3888, allocations: 33.61 kB / 380.8 MB, free: 22.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3888, allocations: 1.125 kB / 380.8 MB, free: 22.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3888, allocations: 39.91 kB / 380.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3888, allocations: 0 / 380.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001072/0.3899, allocations: 340.4 kB / 381.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3899, allocations: 81.2 kB / 381.3 MB, free: 22.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.3901, allocations: 124.2 kB / 381.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3901, allocations: 28.23 kB / 381.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.3901, allocations: 102 kB / 381.5 MB, free: 22.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3902, allocations: 33.42 kB / 381.6 MB, free: 22.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.3902, allocations: 7.562 kB / 381.6 MB, free: 22.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.3902, allocations: 325.5 kB / 381.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.3903, allocations: 24.62 kB / 381.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.3904, allocations: 40.38 kB / 381.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.3905, allocations: 53.98 kB / 382 MB, free: 22.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3905, allocations: 0 / 382 MB, free: 22.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.3907, allocations: 138.5 kB / 382.1 MB, free: 22.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3907, allocations: 33.23 kB / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3907, allocations: 1.453 kB / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3907, allocations: 0 / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3909, allocations: 40.88 kB / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3909, allocations: 0 / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3911, allocations: 19.7 kB / 382.2 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3911, allocations: 7.531 kB / 382.2 MB, free: 21.99 MB / 266.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 6.225e-05/0.3912, allocations: 138.3 kB / 382.4 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3912, allocations: 12.73 kB / 382.4 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3915, allocations: 164.2 kB / 382.5 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3915, allocations: 0 / 382.5 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3915, allocations: 0 / 382.5 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3915, allocations: 1.547 kB / 382.5 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3917, allocations: 227.6 kB / 382.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3917, allocations: 0 / 382.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3918, allocations: 37.78 kB / 382.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3919, allocations: 0 / 382.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3919, allocations: 0 / 382.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3919, allocations: 7.312 kB / 382.8 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3919, allocations: 0 / 382.8 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.3921, allocations: 248 kB / 383.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3922, allocations: 93.31 kB / 383.1 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3922, allocations: 4 kB / 383.1 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3924, allocations: 27.41 kB / 383.2 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3924, allocations: 7.953 kB / 383.2 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3924, allocations: 7.312 kB / 383.2 MB, free: 21.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.3925, allocations: 106.1 kB / 383.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3925, allocations: 0 / 383.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.3928, allocations: 33.78 kB / 383.3 MB, free: 21.2 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 (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.0001185/0.3929, allocations: 119.5 kB / 383.4 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3931, allocations: 119 kB / 383.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3931, allocations: 0 / 383.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.3932, allocations: 101.1 kB / 383.7 MB, free: 20.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3936, allocations: 60.28 kB / 383.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3939, allocations: 145.2 kB / 383.9 MB, free: 20.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3941, allocations: 0.7141 MB / 384.6 MB, free: 20.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.602e-05/0.3941, allocations: 15.06 kB / 384.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.3942, allocations: 16.77 kB / 384.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3942, allocations: 0 / 384.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004796/0.399, allocations: 2.03 MB / 386.6 MB, free: 19.99 MB / 266.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)