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.0007498/0.0007498, allocations: 146.3 kB / 15.75 MB, free: 6.371 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.8974/0.8974, allocations: 150.7 MB / 167.2 MB, free: 6.055 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001061/0.001061, allocations: 85.95 kB / 202.5 MB, free: 2.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04701/0.04701, allocations: 11.85 MB / 249.5 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 12.52 kB / 297.1 MB, free: 26.86 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05251/0.05284, allocations: 37.14 MB / 334.2 MB, free: 6 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002998/0.05588, allocations: 2.969 MB / 337.2 MB, free: 3.008 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.05831, allocations: 1.898 MB / 339.1 MB, free: 1.105 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.05853, allocations: 4 kB / 339.1 MB, free: 1.102 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.05876, allocations: 51.66 kB / 339.2 MB, free: 1.051 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.05923, allocations: 205.3 kB / 339.4 MB, free: 0.8516 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.05995, allocations: 283.1 kB / 339.6 MB, free: 0.5742 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.06033, allocations: 378.1 kB / 340 MB, free: 208 kB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.06049, allocations: 80.84 kB / 340.1 MB, free: 128 kB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.06064, allocations: 115.6 kB / 340.2 MB, free: 12 kB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.06084, allocations: 139.5 kB / 340.3 MB, free: 15.87 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.06088, allocations: 12 kB / 340.4 MB, free: 15.86 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.06124, allocations: 231.7 kB / 340.6 MB, free: 15.63 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.0613, allocations: 47.66 kB / 340.6 MB, free: 15.59 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.06137, allocations: 89.52 kB / 340.7 MB, free: 15.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.06172, allocations: 327.5 kB / 341 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.06173, allocations: 0 / 341 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06174, allocations: 0 / 341 MB, free: 15.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.06175, allocations: 0 / 341 MB, free: 15.18 MB / 234.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.0007046/0.06246, allocations: 0.5464 MB / 341.6 MB, free: 14.58 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.06249, allocations: 8.031 kB / 341.6 MB, free: 14.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.0626, allocations: 39.62 kB / 341.6 MB, free: 14.54 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.06288, allocations: 258.5 kB / 341.9 MB, free: 14.24 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.06291, allocations: 12.56 kB / 341.9 MB, free: 14.23 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.06295, allocations: 24 kB / 341.9 MB, free: 14.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.0634, allocations: 283.5 kB / 342.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.06342, allocations: 0 / 342.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.06345, allocations: 8 kB / 342.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.06347, allocations: 8 kB / 342.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.06386, allocations: 222.1 kB / 342.4 MB, free: 13.69 MB / 234.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.001734/0.06561, allocations: 1.452 MB / 343.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.06587, allocations: 162.7 kB / 344 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.06602, allocations: 72.83 kB / 344.1 MB, free: 11.8 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.06619, allocations: 174.2 kB / 344.3 MB, free: 11.6 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.06622, allocations: 34.56 kB / 344.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.06623, allocations: 0 / 344.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.00177/0.068, allocations: 0.7712 MB / 345.1 MB, free: 10.74 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.06805, allocations: 55.41 kB / 345.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.06829, allocations: 270.7 kB / 345.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.06832, allocations: 29.64 kB / 345.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.06842, allocations: 156.2 kB / 345.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.06847, allocations: 74.91 kB / 345.7 MB, free: 10.13 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.06849, allocations: 4 kB / 345.7 MB, free: 10.12 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.0686, allocations: 346.7 kB / 346 MB, free: 9.777 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.06878, allocations: 89.22 kB / 346.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.06898, allocations: 130.9 kB / 346.2 MB, free: 9.535 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.06916, allocations: 84.5 kB / 346.3 MB, free: 9.453 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.06917, allocations: 3.984 kB / 346.3 MB, free: 9.449 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004624/0.06964, allocations: 272 kB / 346.6 MB, free: 9.18 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.06966, allocations: 4 kB / 346.6 MB, free: 9.176 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.06968, allocations: 4 kB / 346.6 MB, free: 9.172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.0697, allocations: 4 kB / 346.6 MB, free: 9.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.06999, allocations: 72.05 kB / 346.6 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.07, allocations: 4 kB / 346.6 MB, free: 9.094 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.07016, allocations: 12 kB / 346.7 MB, free: 9.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.07019, allocations: 15.98 kB / 346.7 MB, free: 9.066 MB / 234.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.0001618/0.07036, allocations: 141.7 kB / 346.8 MB, free: 8.918 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.07042, allocations: 39.55 kB / 346.9 MB, free: 8.879 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.07091, allocations: 243.7 kB / 347.1 MB, free: 8.637 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.07092, allocations: 4 kB / 347.1 MB, free: 8.633 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.07093, allocations: 0 / 347.1 MB, free: 8.633 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.07094, allocations: 3.984 kB / 347.1 MB, free: 8.629 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.07184, allocations: 0.6395 MB / 347.7 MB, free: 7.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.07185, allocations: 0 / 347.7 MB, free: 7.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.07213, allocations: 63.89 kB / 347.8 MB, free: 7.867 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.07214, allocations: 4.031 kB / 347.8 MB, free: 7.863 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.07217, allocations: 8 kB / 347.8 MB, free: 7.855 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.07217, allocations: 0 / 347.8 MB, free: 7.855 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.07218, allocations: 0 / 347.8 MB, free: 7.855 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.07279, allocations: 424.3 kB / 348.2 MB, free: 7.422 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.07291, allocations: 120.8 kB / 348.3 MB, free: 7.285 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.07295, allocations: 8 kB / 348.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.07314, allocations: 15.98 kB / 348.4 MB, free: 7.262 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.07319, allocations: 11.98 kB / 348.4 MB, free: 7.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.07321, allocations: 8.047 kB / 348.4 MB, free: 7.242 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.07339, allocations: 202 kB / 348.6 MB, free: 7.047 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07339, allocations: 0 / 348.6 MB, free: 7.047 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.07378, allocations: 115.9 kB / 348.7 MB, free: 6.934 MB / 234.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.0002703/0.07406, allocations: 186.9 kB / 348.9 MB, free: 6.742 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.07448, allocations: 195.8 kB / 349.1 MB, free: 6.551 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.07449, allocations: 3.938 kB / 349.1 MB, free: 6.547 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.07466, allocations: 91.84 kB / 349.2 MB, free: 6.457 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.07541, allocations: 128.7 kB / 349.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.0764, allocations: 0.7826 MB / 350.1 MB, free: 5.508 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.07669, allocations: 0.7599 MB / 350.8 MB, free: 4.719 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.07679, allocations: 31.42 kB / 350.9 MB, free: 4.691 MB / 234.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07679, allocations: 0 / 350.9 MB, free: 4.691 MB / 234.7 MB Notification: Performance of Templates: time 0.1223/0.1991, allocations: 4.686 MB / 355.6 MB, free: 20 kB / 234.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)