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.006738/0.006738, allocations: 144.7 kB / 15.09 MB, free: 5.969 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.052/1.052, allocations: 150.7 MB / 166.5 MB, free: 6.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001318/0.001318, allocations: 74.55 kB / 201.8 MB, free: 2.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.047/0.047, allocations: 11.85 MB / 248.8 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 8.844 kB / 296.4 MB, free: 26.8 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06675/0.0671, allocations: 37.14 MB / 333.6 MB, free: 6.02 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07102/0.1382, allocations: 48.68 MB / 382.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.1385, allocations: 67.97 kB / 382.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00836/0.1469, allocations: 3.015 MB / 385.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1469, allocations: 0 / 385.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1469, allocations: 4 kB / 385.4 MB, free: 2.168 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.0005322/0.1475, allocations: 440.9 kB / 385.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1475, allocations: 8.031 kB / 385.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.1476, allocations: 7.906 kB / 385.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1478, allocations: 202.8 kB / 386 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1478, allocations: 4 kB / 386 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1478, allocations: 11.95 kB / 386 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1481, allocations: 105.6 kB / 386.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1481, allocations: 4 kB / 386.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1481, allocations: 4 kB / 386.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1481, allocations: 4 kB / 386.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1484, allocations: 87.94 kB / 386.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.1491, allocations: 0.5825 MB / 386.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1494, allocations: 106.4 kB / 386.9 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.1494, allocations: 8 kB / 386.9 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1494, allocations: 34.56 kB / 386.9 MB, free: 376 kB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.1494, allocations: 0 / 386.9 MB, free: 376 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.1261/0.2755, allocations: 481.8 kB / 387.4 MB, free: 56.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2756, allocations: 81.33 kB / 387.5 MB, free: 56.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2757, allocations: 129.7 kB / 387.6 MB, free: 56.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2757, allocations: 28.55 kB / 387.6 MB, free: 56.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.2758, allocations: 101.9 kB / 387.7 MB, free: 56.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.2758, allocations: 33.45 kB / 387.8 MB, free: 56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.2759, allocations: 1.312 kB / 387.8 MB, free: 56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.2759, allocations: 324 kB / 388.1 MB, free: 55.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.2761, allocations: 57.33 kB / 388.2 MB, free: 55.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2763, allocations: 77.53 kB / 388.2 MB, free: 55.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2765, allocations: 94.61 kB / 388.3 MB, free: 55.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2765, allocations: 0.5312 kB / 388.3 MB, free: 55.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004247/0.277, allocations: 197.9 kB / 388.5 MB, free: 55.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.277, allocations: 31.45 kB / 388.5 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.277, allocations: 1.125 kB / 388.5 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.277, allocations: 0.5938 kB / 388.5 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2772, allocations: 36.22 kB / 388.6 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2772, allocations: 3.625 kB / 388.6 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2774, allocations: 21.84 kB / 388.6 MB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2774, allocations: 6.438 kB / 388.6 MB, free: 55.54 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 () * Number of clocked 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 7.536e-05/0.2775, allocations: 148 kB / 388.8 MB, free: 55.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2775, allocations: 10 kB / 388.8 MB, free: 55.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.278, allocations: 233.8 kB / 389 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2781, allocations: 1.094 kB / 389 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2781, allocations: 1.188 kB / 389 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2781, allocations: 4.359 kB / 389 MB, free: 55.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2783, allocations: 222 kB / 389.2 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2783, allocations: 6.109 kB / 389.2 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.2785, allocations: 33.31 kB / 389.3 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2785, allocations: 1.438 kB / 389.3 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2785, allocations: 2.812 kB / 389.3 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2785, allocations: 1.594 kB / 389.3 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2785, allocations: 2.656 kB / 389.3 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.279, allocations: 299.9 kB / 389.6 MB, free: 54.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.279, allocations: 107.3 kB / 389.7 MB, free: 54.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2791, allocations: 4.75 kB / 389.7 MB, free: 54.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2792, allocations: 17.98 kB / 389.7 MB, free: 54.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.2793, allocations: 14.19 kB / 389.7 MB, free: 54.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2793, allocations: 5.156 kB / 389.7 MB, free: 54.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.2794, allocations: 117.5 kB / 389.8 MB, free: 54.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2794, allocations: 0 / 389.8 MB, free: 54.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.2796, allocations: 33.22 kB / 389.9 MB, free: 54.77 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 () * Number of clocked 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.0001141/0.2798, allocations: 114.6 kB / 390 MB, free: 54.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.2802, allocations: 202.5 kB / 390.2 MB, free: 54.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2802, allocations: 0 / 390.2 MB, free: 54.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2804, allocations: 128.2 kB / 390.3 MB, free: 54.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2808, allocations: 62.59 kB / 390.3 MB, free: 54.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.2813, allocations: 332.2 kB / 390.7 MB, free: 54.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2814, allocations: 0.7113 MB / 391.4 MB, free: 53.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.529e-05/0.2815, allocations: 12.53 kB / 391.4 MB, free: 53.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.2816, allocations: 24.5 kB / 391.4 MB, free: 53.62 MB / 266.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2816, allocations: 0 / 391.4 MB, free: 53.62 MB / 266.7 MB Notification: Performance of Templates: time 0.004726/0.2863, allocations: 2.023 MB / 393.4 MB, free: 53.48 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)