Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.005695/0.005695, allocations: 145 kB / 15.09 MB, free: 5.973 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 1.027/1.027, allocations: 150.7 MB / 166.5 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001503/0.001503, allocations: 82.53 kB / 201.8 MB, free: 2.641 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06265/0.06265, allocations: 11.85 MB / 248.8 MB, free: 0.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005319, allocations: 8.938 kB / 296.4 MB, free: 26.78 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.0815, allocations: 37.15 MB / 333.6 MB, free: 6 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09983/0.1814, allocations: 51.69 MB / 385.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.1817, allocations: 63.97 kB / 385.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1985/0.3802, allocations: 6.964 MB / 392.3 MB, free: 55.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3803, allocations: 4 kB / 392.3 MB, free: 55.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.3803, allocations: 4.875 kB / 392.3 MB, free: 55.74 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009325/0.3812, allocations: 0.527 MB / 392.8 MB, free: 55.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.3813, allocations: 9.219 kB / 392.8 MB, free: 55.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.3814, allocations: 24.12 kB / 392.9 MB, free: 55.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3819, allocations: 249.9 kB / 393.1 MB, free: 55.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3819, allocations: 14.09 kB / 393.1 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.382, allocations: 14.7 kB / 393.1 MB, free: 55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.3825, allocations: 172.7 kB / 393.3 MB, free: 54.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3826, allocations: 0 / 393.3 MB, free: 54.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3826, allocations: 7.328 kB / 393.3 MB, free: 54.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3826, allocations: 2.531 kB / 393.3 MB, free: 54.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.3833, allocations: 180.6 kB / 393.5 MB, free: 54.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.3848, allocations: 0.8174 MB / 394.3 MB, free: 54.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3852, allocations: 117.1 kB / 394.4 MB, free: 54.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-05/0.3853, allocations: 84.72 kB / 394.5 MB, free: 54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3853, allocations: 42.53 kB / 394.6 MB, free: 53.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.3853, allocations: 0 / 394.6 MB, free: 53.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002695/0.388, allocations: 0.5303 MB / 395.1 MB, free: 53.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3881, allocations: 58.06 kB / 395.1 MB, free: 53.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3884, allocations: 214.6 kB / 395.4 MB, free: 53.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3884, allocations: 27.11 kB / 395.4 MB, free: 53.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.3885, allocations: 142.5 kB / 395.5 MB, free: 53.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.3886, allocations: 41.97 kB / 395.6 MB, free: 53.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.3886, allocations: 5.438 kB / 395.6 MB, free: 53.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.3887, allocations: 333.5 kB / 395.9 MB, free: 53.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3891, allocations: 82.58 kB / 396 MB, free: 53.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.3895, allocations: 122.2 kB / 396.1 MB, free: 53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.3899, allocations: 98.77 kB / 396.2 MB, free: 52.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3899, allocations: 0.6875 kB / 396.2 MB, free: 52.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008895/0.3908, allocations: 250.4 kB / 396.4 MB, free: 52.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3908, allocations: 5.406 kB / 396.4 MB, free: 52.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3908, allocations: 5.219 kB / 396.4 MB, free: 52.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3909, allocations: 2.781 kB / 396.4 MB, free: 52.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.3912, allocations: 44.91 kB / 396.5 MB, free: 52.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3913, allocations: 8.469 kB / 396.5 MB, free: 52.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.3916, allocations: 22.52 kB / 396.5 MB, free: 52.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.3916, allocations: 7.359 kB / 396.5 MB, free: 52.86 MB / 266.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: 2 (leakage.data.zetaLaminarKnown,leakage.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001329/0.3918, allocations: 139.8 kB / 396.7 MB, free: 52.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.3918, allocations: 18.75 kB / 396.7 MB, free: 52.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/0.3927, allocations: 258.8 kB / 396.9 MB, free: 52.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3927, allocations: 5.094 kB / 396.9 MB, free: 52.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3927, allocations: 1.156 kB / 396.9 MB, free: 52.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3927, allocations: 1.125 kB / 396.9 MB, free: 52.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.3931, allocations: 263.6 kB / 397.2 MB, free: 52.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3931, allocations: 1.5 kB / 397.2 MB, free: 52.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3934, allocations: 46.97 kB / 397.2 MB, free: 52.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.3934, allocations: 4 kB / 397.2 MB, free: 52.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3934, allocations: 6.219 kB / 397.3 MB, free: 52.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3934, allocations: 1.312 kB / 397.3 MB, free: 52.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3935, allocations: 0 / 397.3 MB, free: 52.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.3942, allocations: 333.6 kB / 397.6 MB, free: 52.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3944, allocations: 113.2 kB / 397.7 MB, free: 52.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.3944, allocations: 6.188 kB / 397.7 MB, free: 52.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.3947, allocations: 23.25 kB / 397.7 MB, free: 52.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3948, allocations: 7.094 kB / 397.7 MB, free: 52.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3948, allocations: 16.31 kB / 397.7 MB, free: 52.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.395, allocations: 173.2 kB / 397.9 MB, free: 51.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.395, allocations: 1.281 kB / 397.9 MB, free: 51.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006727/0.3957, allocations: 96.7 kB / 398 MB, free: 51.93 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: 1 (leakage.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0004977/0.3962, allocations: 223.2 kB / 398.2 MB, free: 51.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.397, allocations: 183.9 kB / 398.4 MB, free: 51.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.397, allocations: 8.188 kB / 398.4 MB, free: 51.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3973, allocations: 94.31 kB / 398.5 MB, free: 51.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.398, allocations: 84.44 kB / 398.6 MB, free: 51.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.3988, allocations: 444.4 kB / 399 MB, free: 51.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.399, allocations: 0.7378 MB / 399.8 MB, free: 50.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.3992, allocations: 30.92 kB / 399.8 MB, free: 50.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3992, allocations: 22.39 kB / 399.8 MB, free: 50.71 MB / 266.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3992, allocations: 0 / 399.8 MB, free: 50.71 MB / 266.7 MB Notification: Performance of Templates: time 0.009009/0.4083, allocations: 3.583 MB / 403.4 MB, free: 49.55 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)