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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0007686/0.0007687, allocations: 147.5 kB / 16.09 MB, free: 5.719 MB / 13.93 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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.8905/0.8905, allocations: 150.7 MB / 167.5 MB, free: 2.582 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00146/0.00146, allocations: 85.89 kB / 202.8 MB, free: 12.29 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1242/0.1242, allocations: 11.82 MB / 249.9 MB, free: 34.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005496, allocations: 8 kB / 297.7 MB, free: 7.996 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08232/0.08289, allocations: 37.14 MB / 334.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.285, allocations: 53.31 MB / 388.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.2853, allocations: 64.45 kB / 388.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02251/0.3078, allocations: 9.054 MB / 397.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3078, allocations: 4 kB / 397.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.3079, allocations: 8 kB / 397.2 MB, free: 15.72 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006802/0.3085, allocations: 0.5604 MB / 397.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3086, allocations: 12.02 kB / 397.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.3087, allocations: 32.56 kB / 397.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.309, allocations: 270.3 kB / 398.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.309, allocations: 20.38 kB / 398.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.3091, allocations: 27.94 kB / 398.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.3095, allocations: 264.6 kB / 398.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3096, allocations: 3.938 kB / 398.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3096, allocations: 12.94 kB / 398.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3096, allocations: 4 kB / 398.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.31, allocations: 226.6 kB / 398.7 MB, free: 14.43 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3115, allocations: 1.481 MB / 400.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.3117, allocations: 156.4 kB / 400.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3119, allocations: 81.11 kB / 400.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.312, allocations: 170.2 kB / 400.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.312, allocations: 42.25 kB / 400.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.312, allocations: 0 / 400.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.00163/0.3137, allocations: 0.8016 MB / 401.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3137, allocations: 51.41 kB / 401.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3139, allocations: 271 kB / 401.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.314, allocations: 28.95 kB / 401.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.314, allocations: 159.9 kB / 401.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3141, allocations: 68.5 kB / 401.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.3141, allocations: 7.438 kB / 402 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.3142, allocations: 336.1 kB / 402.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3143, allocations: 93.69 kB / 402.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3145, allocations: 131.1 kB / 402.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3148, allocations: 231.5 kB / 402.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3149, allocations: 0 / 402.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004437/0.3153, allocations: 274.9 kB / 403 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3153, allocations: 7.938 kB / 403 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3153, allocations: 0 / 403 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3154, allocations: 4 kB / 403 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3156, allocations: 80.03 kB / 403.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3157, allocations: 4 kB / 403.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3158, allocations: 15.44 kB / 403.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3158, allocations: 14.48 kB / 403.1 MB, free: 10.27 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "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 () * Number of clocked 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.000151/0.316, allocations: 146 kB / 403.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.3161, allocations: 27.66 kB / 403.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.3165, allocations: 267.2 kB / 403.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3166, allocations: 0 / 403.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3166, allocations: 0 / 403.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3166, allocations: 0 / 403.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.3174, allocations: 0.6595 MB / 404.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3174, allocations: 3.938 kB / 404.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.3177, allocations: 63.14 kB / 404.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3177, allocations: 4.031 kB / 404.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3177, allocations: 7.688 kB / 404.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3177, allocations: 7.922 kB / 404.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3178, allocations: 0 / 404.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.3183, allocations: 435.1 kB / 404.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.3184, allocations: 126.2 kB / 404.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.3185, allocations: 3.438 kB / 404.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3186, allocations: 11.75 kB / 404.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3187, allocations: 16.03 kB / 404.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3187, allocations: 11.06 kB / 404.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3189, allocations: 195.8 kB / 405.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3189, allocations: 0 / 405.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.3194, allocations: 132.7 kB / 405.2 MB, free: 8.449 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 () * Number of clocked 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.0003078/0.3197, allocations: 210.2 kB / 405.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3201, allocations: 204.4 kB / 405.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3201, allocations: 0 / 405.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3203, allocations: 96.95 kB / 405.7 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.3211, allocations: 130.1 kB / 405.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.322, allocations: 0.7537 MB / 406.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.3222, allocations: 0.7623 MB / 407.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.3224, allocations: 46.94 kB / 407.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.3225, allocations: 34.23 kB / 407.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3225, allocations: 0 / 407.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of Templates: time 0.008797/0.3313, allocations: 5.122 MB / 412.5 MB, free: 1.258 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)