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") [: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.001617/0.001617, allocations: 150.8 kB / 7.431 MB, free: 2.523 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.7816/0.7816, allocations: 150.5 MB / 158.4 MB, free: 6.289 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001364/0.001364, allocations: 82.06 kB / 193.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0459/0.0459, allocations: 11.71 MB / 239.9 MB, free: 2.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.352e-06, allocations: 0 / 283 MB, free: 31.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05289/0.05291, allocations: 37.14 MB / 320.2 MB, free: 10.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.2086, allocations: 47.86 MB / 368 MB, free: 1.117 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.2088, allocations: 63.97 kB / 368.1 MB, free: 1.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.00763/0.2164, allocations: 2.71 MB / 370.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.2165, allocations: 4 kB / 370.8 MB, free: 14.35 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004325/0.2169, allocations: 424.2 kB / 371.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2169, allocations: 8.031 kB / 371.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.217, allocations: 11.91 kB / 371.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2172, allocations: 194.7 kB / 371.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2172, allocations: 4 kB / 371.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2172, allocations: 4 kB / 371.5 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/0.2174, allocations: 59.98 kB / 371.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2175, allocations: 78.86 kB / 371.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2175, allocations: 0 / 371.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2175, allocations: 7.906 kB / 371.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2176, allocations: 3.984 kB / 371.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.2182, allocations: 0.5502 MB / 372.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2183, allocations: 62.77 kB / 372.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.2184, allocations: 40.78 kB / 372.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2184, allocations: 4 kB / 372.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2185, allocations: 34.47 kB / 372.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2185, allocations: 0 / 372.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007251/0.2192, allocations: 193.2 kB / 372.5 MB, free: 12.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2193, allocations: 80.83 kB / 372.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.2193, allocations: 113.3 kB / 372.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2194, allocations: 29.7 kB / 372.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.2194, allocations: 103.9 kB / 372.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.2195, allocations: 31.56 kB / 372.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.2195, allocations: 0 / 372.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2196, allocations: 318.8 kB / 373.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.2197, allocations: 20 kB / 373.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.2197, allocations: 45.64 kB / 373.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.2198, allocations: 28.48 kB / 373.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2199, allocations: 4 kB / 373.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002193/0.2201, allocations: 105.5 kB / 373.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2201, allocations: 7.906 kB / 373.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2201, allocations: 0 / 373.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2201, allocations: 4 kB / 373.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2204, allocations: 40 kB / 373.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2204, allocations: 0 / 373.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2205, allocations: 19.98 kB / 373.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2206, allocations: 3.984 kB / 373.4 MB, free: 11.5 MB / 250.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 () * 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 9.626e-05/0.2207, allocations: 138.6 kB / 373.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2207, allocations: 7.906 kB / 373.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.221, allocations: 132.2 kB / 373.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.221, allocations: 0 / 373.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.221, allocations: 4 kB / 373.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.221, allocations: 0 / 373.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2212, allocations: 190 kB / 373.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2212, allocations: 0 / 373.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.2214, allocations: 43.97 kB / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2214, allocations: 0 / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2214, allocations: 0 / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2214, allocations: 0 / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2215, allocations: 7.938 kB / 373.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002334/0.2217, allocations: 199.3 kB / 374.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.2218, allocations: 96.98 kB / 374.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.2218, allocations: 4 kB / 374.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.222, allocations: 19.98 kB / 374.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.222, allocations: 15.92 kB / 374.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2221, allocations: 7.906 kB / 374.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.852e-05/0.2221, allocations: 103 kB / 374.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.2224, allocations: 28 kB / 374.4 MB, free: 10.43 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: 0 () * Number of discrete 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.0001498/0.2225, allocations: 107.2 kB / 374.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2227, allocations: 89.64 kB / 374.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2227, allocations: 4.062 kB / 374.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.2228, allocations: 69.91 kB / 374.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2232, allocations: 44.08 kB / 374.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.2236, allocations: 147.8 kB / 374.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.2239, allocations: 0.7348 MB / 375.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2239, allocations: 0 / 375.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of Templates: time 0.004133/0.2281, allocations: 1.824 MB / 377.4 MB, free: 7.375 MB / 250.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)