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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0008317/0.0008317, allocations: 153.9 kB / 7.431 MB, free: 0 / 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 0.725/0.725, allocations: 150.5 MB / 158.3 MB, free: 6.359 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001339/0.001339, allocations: 82.19 kB / 193.3 MB, free: 1.207 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04555/0.04555, allocations: 11.71 MB / 239.9 MB, free: 2.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/4.989e-06, allocations: 4 kB / 283.1 MB, free: 31.46 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04839/0.0484, allocations: 37.13 MB / 320.2 MB, free: 10.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.1855, allocations: 49.48 MB / 369.7 MB, free: 15.5 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001317/0.1856, allocations: 63.97 kB / 369.7 MB, free: 15.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01085/0.1965, allocations: 4.257 MB / 374 MB, free: 11.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1965, allocations: 4 kB / 374 MB, free: 11.17 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.0004472/0.197, allocations: 471.9 kB / 374.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.197, allocations: 8.031 kB / 374.5 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.1971, allocations: 19.81 kB / 374.5 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1973, allocations: 227.2 kB / 374.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1973, allocations: 8 kB / 374.7 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1974, allocations: 8 kB / 374.7 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000195/0.1976, allocations: 104 kB / 374.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.1978, allocations: 155.6 kB / 375 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1978, allocations: 3.938 kB / 375 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1978, allocations: 0 / 375 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1979, allocations: 4 kB / 375 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1989, allocations: 0.9232 MB / 375.9 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1992, allocations: 138.7 kB / 376 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.1993, allocations: 52.84 kB / 376.1 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1993, allocations: 7.719 kB / 376.1 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.1993, allocations: 30.56 kB / 376.1 MB, free: 8.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1993, allocations: 4 kB / 376.1 MB, free: 8.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001279/0.2006, allocations: 0.5366 MB / 376.7 MB, free: 8.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2007, allocations: 81.11 kB / 376.7 MB, free: 8.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.2008, allocations: 138.4 kB / 376.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2008, allocations: 25.7 kB / 376.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2009, allocations: 120.3 kB / 377 MB, free: 7.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.2009, allocations: 67 kB / 377.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.2009, allocations: 0 / 377.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.201, allocations: 322.8 kB / 377.4 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.2011, allocations: 53.03 kB / 377.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.2012, allocations: 77.09 kB / 377.5 MB, free: 7.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2014, allocations: 63.89 kB / 377.6 MB, free: 7.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2014, allocations: 4 kB / 377.6 MB, free: 7.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003377/0.2018, allocations: 169.3 kB / 377.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2018, allocations: 7.438 kB / 377.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2018, allocations: 4 kB / 377.8 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2018, allocations: 4.094 kB / 377.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.2021, allocations: 67.89 kB / 377.8 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2021, allocations: 0 / 377.8 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2023, allocations: 11.98 kB / 377.9 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2023, allocations: 4 kB / 377.9 MB, free: 6.961 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.0001185/0.2024, allocations: 150.5 kB / 378 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.2025, allocations: 15.81 kB / 378 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.2028, allocations: 184.8 kB / 378.2 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2028, allocations: 7.938 kB / 378.2 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2028, allocations: 0 / 378.2 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2028, allocations: 3.906 kB / 378.2 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.2034, allocations: 487 kB / 378.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2034, allocations: 7.906 kB / 378.7 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.2037, allocations: 47.97 kB / 378.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.413e-06/0.2037, allocations: 7.984 kB / 378.8 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2037, allocations: 4 kB / 378.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2037, allocations: 3.938 kB / 378.8 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2038, allocations: 4 kB / 378.8 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004272/0.2042, allocations: 335.5 kB / 379.1 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.2043, allocations: 108.8 kB / 379.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2043, allocations: 0 / 379.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2045, allocations: 11.98 kB / 379.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.2045, allocations: 11.98 kB / 379.2 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2046, allocations: 4 kB / 379.2 MB, free: 5.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.916e-05/0.2046, allocations: 128 kB / 379.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.2049, allocations: 44 kB / 379.4 MB, free: 5.328 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.0001274/0.205, allocations: 111.1 kB / 379.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.2053, allocations: 149.6 kB / 379.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2053, allocations: 0 / 379.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2054, allocations: 93.64 kB / 379.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2058, allocations: 60.25 kB / 379.8 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.2064, allocations: 281.6 kB / 380.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.2068, allocations: 0.7627 MB / 380.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2068, allocations: 0 / 380.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of Templates: time 0.004947/0.2117, allocations: 2.488 MB / 383.3 MB, free: 1.359 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)