Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108.1 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.057/0.057, allocations: 11.84 MB / 282.4 MB, free: 232 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 79.81 kB / 343.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1863, allocations: 49.21 MB / 392.5 MB, free: 49.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003747/0.1901, allocations: 3.252 MB / 395.7 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1921, allocations: 1.821 MB / 397.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1923, allocations: 4.312 kB / 397.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1926, allocations: 118.3 kB / 397.7 MB, free: 45.78 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000357/0.193, allocations: 196.4 kB / 397.9 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1935, allocations: 323 kB / 398.2 MB, free: 45.49 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0004207/0.194, allocations: 498.9 kB / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1942, allocations: 123.3 kB / 398.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1944, allocations: 178.8 kB / 399 MB, free: 45.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1946, allocations: 202.7 kB / 399.2 MB, free: 45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.1947, allocations: 31.91 kB / 399.2 MB, free: 45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.195, allocations: 230.5 kB / 399.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1951, allocations: 92.7 kB / 399.5 MB, free: 44.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1953, allocations: 199 kB / 399.7 MB, free: 44.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1958, allocations: 0.5749 MB / 400.3 MB, free: 44.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1958, allocations: 0 / 400.3 MB, free: 44.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1958, allocations: 1.531 kB / 400.3 MB, free: 44.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1958, allocations: 0 / 400.3 MB, free: 44.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008498/0.1967, allocations: 0.7004 MB / 401 MB, free: 43.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1967, allocations: 17.97 kB / 401 MB, free: 43.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1968, allocations: 41.94 kB / 401 MB, free: 43.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1972, allocations: 327.7 kB / 401.4 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.1972, allocations: 23.53 kB / 401.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.1973, allocations: 26.22 kB / 401.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.1977, allocations: 320.9 kB / 401.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1978, allocations: 3.906 kB / 401.7 MB, free: 43.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1978, allocations: 15.62 kB / 401.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1978, allocations: 9.625 kB / 401.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.1983, allocations: 256.5 kB / 402 MB, free: 43.08 MB / 318.1 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.001544/0.1998, allocations: 1.473 MB / 403.5 MB, free: 41.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.2002, allocations: 221.3 kB / 403.7 MB, free: 41.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2004, allocations: 93.61 kB / 403.8 MB, free: 41.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.2005, allocations: 96.34 kB / 403.9 MB, free: 41.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.2005, allocations: 35.91 kB / 403.9 MB, free: 41.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2005, allocations: 0 / 403.9 MB, free: 41.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001856/0.2024, allocations: 0.8605 MB / 404.8 MB, free: 40.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.2024, allocations: 58.12 kB / 404.8 MB, free: 40.73 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.2028, allocations: 380.8 kB / 405.2 MB, free: 40.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2028, allocations: 30.98 kB / 405.2 MB, free: 40.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.2029, allocations: 189.3 kB / 405.4 MB, free: 40.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.2029, allocations: 89.78 kB / 405.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.203, allocations: 64.31 kB / 405.6 MB, free: 40.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.2031, allocations: 345.9 kB / 405.9 MB, free: 39.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2033, allocations: 100.8 kB / 406 MB, free: 39.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2035, allocations: 157.5 kB / 406.1 MB, free: 39.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.2039, allocations: 261.6 kB / 406.4 MB, free: 39.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2039, allocations: 1.688 kB / 406.4 MB, free: 39.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005338/0.2044, allocations: 308.6 kB / 406.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2045, allocations: 10.62 kB / 406.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2045, allocations: 5.281 kB / 406.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2045, allocations: 4.719 kB / 406.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.2048, allocations: 79.88 kB / 406.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2049, allocations: 3.656 kB / 406.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.205, allocations: 9.969 kB / 406.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2051, allocations: 18.48 kB / 406.8 MB, free: 39.24 MB / 318.1 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: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001634/0.2052, allocations: 172.6 kB / 407 MB, free: 39.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.2053, allocations: 40.19 kB / 407 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.2059, allocations: 314.7 kB / 407.4 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.206, allocations: 3.719 kB / 407.4 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.206, allocations: 4 kB / 407.4 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.206, allocations: 1.094 kB / 407.4 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/0.2069, allocations: 0.7542 MB / 408.1 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2069, allocations: 0 / 408.1 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.2073, allocations: 77.34 kB / 408.2 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2073, allocations: 2.156 kB / 408.2 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2073, allocations: 6.562 kB / 408.2 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2073, allocations: 1.219 kB / 408.2 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2073, allocations: 4 kB / 408.2 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.2081, allocations: 0.494 MB / 408.7 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2082, allocations: 139.1 kB / 408.8 MB, free: 37.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.2083, allocations: 9.844 kB / 408.8 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2085, allocations: 13.42 kB / 408.9 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2085, allocations: 25.72 kB / 408.9 MB, free: 37.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2086, allocations: 6.594 kB / 408.9 MB, free: 37.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.2088, allocations: 274.2 kB / 409.2 MB, free: 37.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2088, allocations: 1.094 kB / 409.2 MB, free: 37.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.2092, allocations: 118.4 kB / 409.3 MB, free: 37.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0008429/0.2101, allocations: 416.2 kB / 409.7 MB, free: 37.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.2106, allocations: 235.6 kB / 409.9 MB, free: 37.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2106, allocations: 4.125 kB / 409.9 MB, free: 37.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.2108, allocations: 115.9 kB / 410 MB, free: 37.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.2113, allocations: 112.7 kB / 410.1 MB, free: 37.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2123, allocations: 0.7837 MB / 410.9 MB, free: 36.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2125, allocations: 0.799 MB / 411.7 MB, free: 35.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2127, allocations: 59.23 kB / 411.8 MB, free: 35.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.2127, allocations: 35.42 kB / 411.8 MB, free: 35.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2128, allocations: 3.938 kB / 411.8 MB, free: 35.29 MB / 318.1 MB Notification: Performance of Templates: time 0.008112/0.2209, allocations: 5.971 MB / 417.8 MB, free: 29.36 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)