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.0007039/0.000704, 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.388/1.388, allocations: 150.6 MB / 158.6 MB, free: 6.164 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001538/0.001538, allocations: 78.31 kB / 193.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04963/0.04963, allocations: 11.72 MB / 240.2 MB, free: 2.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.963e-05, allocations: 7.938 kB / 283.6 MB, free: 31.15 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08723, allocations: 37.13 MB / 320.7 MB, free: 10 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4028, allocations: 50.94 MB / 371.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4031, allocations: 67.97 kB / 371.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.4228, allocations: 6.878 MB / 378.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4228, allocations: 0 / 378.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4228, allocations: 4 kB / 378.6 MB, free: 6.863 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008869/0.4237, allocations: 0.503 MB / 379.1 MB, free: 6.316 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.4238, allocations: 12.03 kB / 379.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.4239, allocations: 23.72 kB / 379.1 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.4244, allocations: 251.5 kB / 379.4 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4244, allocations: 4 kB / 379.4 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.4244, allocations: 8 kB / 379.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002695/0.4247, allocations: 128 kB / 379.5 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.425, allocations: 133.6 kB / 379.6 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.425, allocations: 3.984 kB / 379.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.425, allocations: 0 / 379.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.425, allocations: 4 kB / 379.6 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.4262, allocations: 0.7711 MB / 380.4 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.4264, allocations: 94.53 kB / 380.5 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.4265, allocations: 48.89 kB / 380.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.4266, allocations: 85.09 kB / 380.6 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4266, allocations: 38.56 kB / 380.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.4266, allocations: 0 / 380.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001134/0.4278, allocations: 343.1 kB / 381 MB, free: 4.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4278, allocations: 51.41 kB / 381 MB, free: 4.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.428, allocations: 195 kB / 381.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4281, allocations: 25.7 kB / 381.3 MB, free: 3.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.4282, allocations: 148 kB / 381.4 MB, free: 3.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.4282, allocations: 31.47 kB / 381.4 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.4282, allocations: 0 / 381.4 MB, free: 3.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4284, allocations: 334.8 kB / 381.8 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.4285, allocations: 44 kB / 381.8 MB, free: 3.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4286, allocations: 85.12 kB / 381.9 MB, free: 3.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.4289, allocations: 83.89 kB / 382 MB, free: 3.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4289, allocations: 4.031 kB / 382 MB, free: 3.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004513/0.4294, allocations: 195.1 kB / 382.2 MB, free: 2.965 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4294, allocations: 4 kB / 382.2 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4294, allocations: 4 kB / 382.2 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4294, allocations: 0 / 382.2 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.4297, allocations: 56.02 kB / 382.2 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4297, allocations: 4 kB / 382.2 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.4298, allocations: 19.98 kB / 382.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.4299, allocations: 8 kB / 382.3 MB, free: 2.871 MB / 250.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 () * 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.0001142/0.43, allocations: 112.9 kB / 382.4 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.4301, allocations: 23.72 kB / 382.4 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.4306, allocations: 219.2 kB / 382.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4306, allocations: 0 / 382.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4306, allocations: 0 / 382.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4306, allocations: 0 / 382.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4309, allocations: 226.1 kB / 382.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4309, allocations: 3.953 kB / 382.8 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4311, allocations: 43.97 kB / 382.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4311, allocations: 0 / 382.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4311, allocations: 4 kB / 382.9 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4311, allocations: 3.938 kB / 382.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4311, allocations: 0 / 382.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.4316, allocations: 288.8 kB / 383.2 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4317, allocations: 116.8 kB / 383.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.4317, allocations: 0 / 383.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4319, allocations: 19.97 kB / 383.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.432, allocations: 11.98 kB / 383.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.432, allocations: 4 kB / 383.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4321, allocations: 153.6 kB / 383.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4321, allocations: 4 kB / 383.5 MB, free: 1.582 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.4325, allocations: 91.91 kB / 383.6 MB, free: 1.492 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: 1 (leakage.MeteringTable.tableID) * Number of discrete 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.0005828/0.4331, allocations: 228.6 kB / 383.8 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4334, allocations: 111.8 kB / 383.9 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4334, allocations: 0 / 383.9 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.4335, allocations: 51.98 kB / 383.9 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.434, allocations: 66.39 kB / 384 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.4345, allocations: 217.3 kB / 384.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4349, allocations: 0.7397 MB / 385 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.435, allocations: 33.25 kB / 385 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4351, allocations: 23.44 kB / 385 MB, free: 16 MB / 266.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4351, allocations: 0 / 385 MB, free: 16 MB / 266.7 MB Notification: Performance of Templates: time 0.006957/0.4421, allocations: 2.992 MB / 388 MB, free: 13.02 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)