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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0007717/0.0007716, allocations: 143.7 kB / 15.74 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.9057/0.9057, allocations: 150.7 MB / 167.2 MB, free: 5.984 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001299/0.001299, allocations: 81.91 kB / 202.5 MB, free: 2.629 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0474/0.0474, allocations: 11.85 MB / 249.5 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12.62 kB / 297.1 MB, free: 26.89 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05582/0.05621, allocations: 37.14 MB / 334.2 MB, free: 6.012 MB / 218.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002595/0.05883, allocations: 2.658 MB / 336.9 MB, free: 3.332 MB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.05975, allocations: 0.6587 MB / 337.6 MB, free: 2.672 MB / 218.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.05986, allocations: 0 / 337.6 MB, free: 2.672 MB / 218.7 MB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.05996, allocations: 27.77 kB / 337.6 MB, free: 2.645 MB / 218.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.06029, allocations: 158.8 kB / 337.7 MB, free: 2.488 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.06042, allocations: 39.94 kB / 337.8 MB, free: 2.449 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.06064, allocations: 258.5 kB / 338 MB, free: 2.195 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.06077, allocations: 48.28 kB / 338.1 MB, free: 2.148 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.0609, allocations: 83.7 kB / 338.2 MB, free: 2.066 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.06104, allocations: 95.61 kB / 338.3 MB, free: 1.973 MB / 218.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.06107, allocations: 8 kB / 338.3 MB, free: 1.965 MB / 218.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.06116, allocations: 27.92 kB / 338.3 MB, free: 1.938 MB / 218.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.0612, allocations: 23.92 kB / 338.3 MB, free: 1.914 MB / 218.7 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.06126, allocations: 69.58 kB / 338.4 MB, free: 1.84 MB / 218.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.06143, allocations: 147.9 kB / 338.5 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.06144, allocations: 0 / 338.5 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06144, allocations: 0 / 338.5 MB, free: 1.695 MB / 218.7 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.06146, allocations: 0 / 338.5 MB, free: 1.695 MB / 218.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.0005575/0.06202, allocations: 488.9 kB / 339 MB, free: 1.164 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.06207, allocations: 12.03 kB / 339 MB, free: 1.152 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.06218, allocations: 23.72 kB / 339 MB, free: 1.129 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.0624, allocations: 238.5 kB / 339.3 MB, free: 0.8555 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.06242, allocations: 16 kB / 339.3 MB, free: 0.8398 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.06246, allocations: 16 kB / 339.3 MB, free: 0.8242 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.06278, allocations: 187.5 kB / 339.5 MB, free: 0.625 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.0628, allocations: 0 / 339.5 MB, free: 0.625 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.06283, allocations: 8 kB / 339.5 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.06284, allocations: 7.984 kB / 339.5 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.06308, allocations: 128.9 kB / 339.6 MB, free: 496 kB / 218.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.001047/0.06413, allocations: 0.9338 MB / 340.6 MB, free: 15.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.06441, allocations: 150.6 kB / 340.7 MB, free: 15.28 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.06454, allocations: 64.83 kB / 340.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.06456, allocations: 7.984 kB / 340.8 MB, free: 15.2 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.06459, allocations: 34.56 kB / 340.8 MB, free: 15.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.0646, allocations: 0 / 340.8 MB, free: 15.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.001777/0.06638, allocations: 0.782 MB / 341.6 MB, free: 14.31 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.06643, allocations: 85.11 kB / 341.7 MB, free: 14.21 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.06659, allocations: 183.4 kB / 341.9 MB, free: 14.02 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.06661, allocations: 29.7 kB / 341.9 MB, free: 13.98 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.06669, allocations: 124.4 kB / 342 MB, free: 13.86 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.06674, allocations: 63.02 kB / 342.1 MB, free: 13.8 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.06676, allocations: 4 kB / 342.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.06687, allocations: 334.8 kB / 342.4 MB, free: 13.46 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.06702, allocations: 65.02 kB / 342.5 MB, free: 13.39 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.06717, allocations: 104 kB / 342.6 MB, free: 13.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.06734, allocations: 97.59 kB / 342.7 MB, free: 13.17 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.06735, allocations: 0 / 342.7 MB, free: 13.17 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000386/0.06774, allocations: 241.2 kB / 342.9 MB, free: 12.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.06778, allocations: 33.7 kB / 342.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.06779, allocations: 0 / 342.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.06781, allocations: 4 kB / 342.9 MB, free: 12.88 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.06809, allocations: 64.05 kB / 343 MB, free: 12.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.06811, allocations: 7.875 kB / 343 MB, free: 12.81 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.06825, allocations: 8 kB / 343 MB, free: 12.8 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.06828, allocations: 15.98 kB / 343 MB, free: 12.79 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: 5 * 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 (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.0001913/0.06848, allocations: 159.5 kB / 343.2 MB, free: 12.62 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.06852, allocations: 23.84 kB / 343.2 MB, free: 12.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.06899, allocations: 272.7 kB / 343.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.069, allocations: 4 kB / 343.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.06901, allocations: 0 / 343.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.06902, allocations: 0 / 343.5 MB, free: 12.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.06971, allocations: 0.5898 MB / 344.1 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.06972, allocations: 0 / 344.1 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.06998, allocations: 59.89 kB / 344.1 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.06999, allocations: 0 / 344.1 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.07002, allocations: 8 kB / 344.1 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.07002, allocations: 4 kB / 344.1 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.07003, allocations: 4 kB / 344.1 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.07064, allocations: 421.4 kB / 344.6 MB, free: 11.16 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.07074, allocations: 108.9 kB / 344.7 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.07078, allocations: 8 kB / 344.7 MB, free: 11.02 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.07093, allocations: 8 kB / 344.7 MB, free: 11.02 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.07098, allocations: 15.97 kB / 344.7 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.071, allocations: 8 kB / 344.7 MB, free: 10.99 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.0711, allocations: 135.2 kB / 344.8 MB, free: 10.86 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07111, allocations: 0 / 344.8 MB, free: 10.86 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.07139, allocations: 56.06 kB / 344.9 MB, free: 10.8 MB / 234.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001369/0.07153, allocations: 115.2 kB / 345 MB, free: 10.68 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.0719, allocations: 219 kB / 345.2 MB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.07191, allocations: 0 / 345.2 MB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.07209, allocations: 151.4 kB / 345.4 MB, free: 10.29 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.07266, allocations: 86.06 kB / 345.4 MB, free: 10.21 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.07344, allocations: 0.6169 MB / 346.1 MB, free: 9.562 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.0737, allocations: 0.7329 MB / 346.8 MB, free: 8.801 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.07378, allocations: 27.42 kB / 346.8 MB, free: 8.777 MB / 234.7 MB Notification: Performance of SimCode: time 2.5e-07/0.07378, allocations: 0 / 346.8 MB, free: 8.777 MB / 234.7 MB Notification: Performance of Templates: time 0.004146/0.07793, allocations: 2.878 MB / 349.7 MB, free: 5.906 MB / 234.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)