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.00129/0.001291, allocations: 155.7 kB / 15.95 MB, free: 5.793 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 1.188/1.188, allocations: 150.5 MB / 167.2 MB, free: 10.27 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001537/0.001537, allocations: 86.02 kB / 201.8 MB, free: 7.578 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05084/0.05084, allocations: 11.84 MB / 248.2 MB, free: 19.38 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 295.4 MB, free: 4.094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2334, allocations: 36.43 MB / 331.9 MB, free: 34.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.00471/0.2381, allocations: 3.117 MB / 335 MB, free: 32.36 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2395, allocations: 0.6878 MB / 335.7 MB, free: 31.79 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.2397, allocations: 4.344 kB / 335.7 MB, free: 31.79 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2398, allocations: 30.31 kB / 335.7 MB, free: 31.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.2402, allocations: 108.2 kB / 335.8 MB, free: 31.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2404, allocations: 49.23 kB / 335.8 MB, free: 31.64 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.2407, allocations: 258.3 kB / 336.1 MB, free: 31.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2409, allocations: 56.88 kB / 336.2 MB, free: 31.46 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2411, allocations: 89.78 kB / 336.2 MB, free: 31.42 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2413, allocations: 103.3 kB / 336.3 MB, free: 31.36 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2414, allocations: 10.56 kB / 336.4 MB, free: 31.36 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2415, allocations: 26.27 kB / 336.4 MB, free: 31.35 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2416, allocations: 32.33 kB / 336.4 MB, free: 31.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.2418, allocations: 103.6 kB / 336.5 MB, free: 31.26 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.2421, allocations: 205.5 kB / 336.7 MB, free: 31.13 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2421, allocations: 4 kB / 336.7 MB, free: 31.13 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2421, allocations: 0 / 336.7 MB, free: 31.13 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2421, allocations: 1.375 kB / 336.7 MB, free: 31.13 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007479/0.2429, allocations: 0.5057 MB / 337.2 MB, free: 30.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.243, allocations: 9.656 kB / 337.2 MB, free: 30.63 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.2431, allocations: 21.72 kB / 337.3 MB, free: 30.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2434, allocations: 228.7 kB / 337.5 MB, free: 30.38 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2434, allocations: 10.31 kB / 337.5 MB, free: 30.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.2435, allocations: 27.03 kB / 337.5 MB, free: 30.36 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.2439, allocations: 196.2 kB / 337.7 MB, free: 30.22 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.244, allocations: 0 / 337.7 MB, free: 30.22 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.244, allocations: 6.312 kB / 337.7 MB, free: 30.22 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.244, allocations: 3.469 kB / 337.7 MB, free: 30.22 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.2444, allocations: 122.5 kB / 337.8 MB, free: 30.14 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.001291/0.2457, allocations: 0.9296 MB / 338.8 MB, free: 29.1 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2461, allocations: 157.2 kB / 338.9 MB, free: 28.94 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.2462, allocations: 64.78 kB / 339 MB, free: 28.87 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2463, allocations: 3.984 kB / 339 MB, free: 28.87 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2463, allocations: 42.55 kB / 339 MB, free: 28.82 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.2463, allocations: 0 / 339 MB, free: 28.82 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002186/0.2485, allocations: 0.7477 MB / 339.8 MB, free: 28 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2486, allocations: 81.11 kB / 339.9 MB, free: 27.9 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2487, allocations: 183.5 kB / 340 MB, free: 27.71 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2488, allocations: 25.7 kB / 340.1 MB, free: 27.68 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2488, allocations: 124.3 kB / 340.2 MB, free: 27.55 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.2489, allocations: 70.94 kB / 340.3 MB, free: 27.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.249, allocations: 41.7 kB / 340.3 MB, free: 27.44 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.2491, allocations: 330.8 kB / 340.6 MB, free: 27.11 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2493, allocations: 68.7 kB / 340.7 MB, free: 27.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2495, allocations: 100.1 kB / 340.8 MB, free: 26.92 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.2499, allocations: 217.4 kB / 341 MB, free: 26.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2499, allocations: 4 kB / 341 MB, free: 26.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005305/0.2505, allocations: 229.5 kB / 341.2 MB, free: 26.45 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.2505, allocations: 37.62 kB / 341.3 MB, free: 26.4 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2505, allocations: 4 kB / 341.3 MB, free: 26.4 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2506, allocations: 0 / 341.3 MB, free: 26.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.251, allocations: 55.97 kB / 341.3 MB, free: 26.34 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.251, allocations: 4 kB / 341.3 MB, free: 26.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2512, allocations: 16.08 kB / 341.3 MB, free: 26.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2512, allocations: 4 kB / 341.3 MB, free: 26.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002393/0.2515, allocations: 163.5 kB / 341.5 MB, free: 26.14 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.2516, allocations: 23.66 kB / 341.5 MB, free: 26.12 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.2522, allocations: 253 kB / 341.8 MB, free: 25.87 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2522, allocations: 4.047 kB / 341.8 MB, free: 25.86 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2522, allocations: 3.984 kB / 341.8 MB, free: 25.86 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2522, allocations: 0 / 341.8 MB, free: 25.86 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.2532, allocations: 0.578 MB / 342.4 MB, free: 25.22 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2532, allocations: 0 / 342.4 MB, free: 25.22 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.2536, allocations: 55.84 kB / 342.4 MB, free: 25.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2536, allocations: 8 kB / 342.4 MB, free: 25.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2536, allocations: 7.984 kB / 342.4 MB, free: 25.15 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2536, allocations: 0 / 342.4 MB, free: 25.15 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2536, allocations: 3.938 kB / 342.4 MB, free: 25.14 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.257, allocations: 1.996 MB / 344.4 MB, free: 22.97 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.2571, allocations: 104.8 kB / 344.5 MB, free: 22.85 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.2572, allocations: 8 kB / 344.5 MB, free: 22.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.2574, allocations: 19.92 kB / 344.6 MB, free: 22.82 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.2575, allocations: 11.98 kB / 344.6 MB, free: 22.81 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.2575, allocations: 11.98 kB / 344.6 MB, free: 22.8 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2577, allocations: 131.2 kB / 344.7 MB, free: 22.67 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2577, allocations: 8 kB / 344.7 MB, free: 22.66 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007195/0.2584, allocations: 87.94 kB / 344.8 MB, free: 22.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.2586, allocations: 103.4 kB / 344.9 MB, free: 22.47 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.2591, allocations: 211.1 kB / 345.1 MB, free: 22.25 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2591, allocations: 0 / 345.1 MB, free: 22.25 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.2594, allocations: 143.4 kB / 345.2 MB, free: 22.1 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.2604, allocations: 90.12 kB / 345.3 MB, free: 22.02 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2617, allocations: 0.778 MB / 346.1 MB, free: 21.18 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.2619, allocations: 0.7407 MB / 346.9 MB, free: 20.41 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.2622, allocations: 29.88 kB / 346.9 MB, free: 20.39 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.2623, allocations: 35.36 kB / 346.9 MB, free: 20.35 MB / 234.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2623, allocations: 0 / 346.9 MB, free: 20.35 MB / 234.7 MB Notification: Performance of Templates: time 0.008372/0.2707, allocations: 3.273 MB / 350.2 MB, free: 17.12 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)