Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [: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.002863/0.002863, allocations: 158.2 kB / 7.432 MB, free: 2 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 0.7411/0.7411, allocations: 150.5 MB / 158.4 MB, free: 6.367 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00145/0.00145, allocations: 78.92 kB / 193.3 MB, free: 1.223 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04628/0.04628, allocations: 11.72 MB / 239.9 MB, free: 2.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.74e-06, allocations: 4 kB / 283 MB, free: 31.48 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05835/0.05837, allocations: 37.13 MB / 320.2 MB, free: 10.32 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.2222, allocations: 52.45 MB / 372.6 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.2224, allocations: 68.72 kB / 372.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.0249/0.2473, allocations: 8.654 MB / 381.4 MB, free: 3.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.2474, allocations: 4 kB / 381.4 MB, free: 3.781 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007669/0.2482, allocations: 0.5411 MB / 381.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2482, allocations: 11.97 kB / 381.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.2484, allocations: 35.61 kB / 382 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2488, allocations: 270.9 kB / 382.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2488, allocations: 8 kB / 382.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.2489, allocations: 15.98 kB / 382.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003713/0.2492, allocations: 192.9 kB / 382.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.2496, allocations: 221.8 kB / 382.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2496, allocations: 0 / 382.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2496, allocations: 0 / 382.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2497, allocations: 11.98 kB / 382.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2515, allocations: 1.423 MB / 384.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.2518, allocations: 147.2 kB / 384.2 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.252, allocations: 68.77 kB / 384.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.2522, allocations: 174.2 kB / 384.5 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2522, allocations: 42.48 kB / 384.5 MB, free: 324 kB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2522, allocations: 0 / 384.5 MB, free: 324 kB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.003346/0.2556, allocations: 0.8468 MB / 385.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2556, allocations: 51.59 kB / 385.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2558, allocations: 174 kB / 385.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.2558, allocations: 29.69 kB / 385.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.2559, allocations: 148 kB / 385.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.256, allocations: 74.94 kB / 385.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.256, allocations: 4 kB / 385.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2561, allocations: 338.7 kB / 386.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2562, allocations: 73.3 kB / 386.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2564, allocations: 110.7 kB / 386.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.2573, allocations: 184.9 kB / 386.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2573, allocations: 0 / 386.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001122/0.2584, allocations: 325.5 kB / 386.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2584, allocations: 4 kB / 386.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2584, allocations: 3.938 kB / 386.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2585, allocations: 4 kB / 386.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2588, allocations: 79.88 kB / 386.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2588, allocations: 7.906 kB / 386.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2589, allocations: 12.16 kB / 386.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.259, allocations: 19.91 kB / 387 MB, free: 13.73 MB / 266.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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001277/0.2591, allocations: 108.9 kB / 387.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2592, allocations: 23.72 kB / 387.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000949/0.2601, allocations: 303.8 kB / 387.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2601, allocations: 8 kB / 387.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2602, allocations: 0 / 387.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2602, allocations: 0 / 387.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2615, allocations: 0.656 MB / 388 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2615, allocations: 0 / 388 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.2618, allocations: 59.97 kB / 388.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2619, allocations: 3.984 kB / 388.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.2619, allocations: 7.906 kB / 388.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2619, allocations: 32 / 388.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2619, allocations: 4 kB / 388.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009721/0.2629, allocations: 469.6 kB / 388.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.263, allocations: 120.8 kB / 388.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.263, allocations: 0 / 388.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2632, allocations: 12.05 kB / 388.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.2633, allocations: 19.98 kB / 388.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2633, allocations: 7.984 kB / 388.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001035/0.2634, allocations: 143.2 kB / 388.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.2638, allocations: 123.9 kB / 389 MB, free: 11.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0003038/0.2641, allocations: 198.9 kB / 389.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.2644, allocations: 168 kB / 389.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2644, allocations: 0 / 389.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2645, allocations: 79.86 kB / 389.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.265, allocations: 71.47 kB / 389.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.2658, allocations: 423 kB / 389.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.2662, allocations: 0.7979 MB / 390.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2662, allocations: 4 kB / 390.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of Templates: time 0.007424/0.2736, allocations: 4.069 MB / 394.8 MB, free: 5.773 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)