Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001669/0.001669, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.279/1.279, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05628/0.05628, allocations: 11.85 MB / 282.4 MB, free: 252 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.001523/0.001523, allocations: 75.81 kB / 343.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1946, allocations: 49.2 MB / 392.5 MB, free: 49.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.004503/0.1992, allocations: 4.355 MB / 396.8 MB, free: 46.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.2017, allocations: 2.152 MB / 399 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2019, allocations: 12.22 kB / 399 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.2023, allocations: 171.6 kB / 399.2 MB, free: 44.71 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.0005858/0.2029, allocations: 353.2 kB / 399.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007807/0.2037, allocations: 450.9 kB / 400 MB, free: 44.25 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.0007385/0.2045, allocations: 1.019 MB / 401 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.2048, allocations: 304.5 kB / 401.3 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.2052, allocations: 354.9 kB / 401.6 MB, free: 43.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.2056, allocations: 422.5 kB / 402 MB, free: 43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.785e-05/0.2057, allocations: 64.81 kB / 402.1 MB, free: 43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2061, allocations: 267.9 kB / 402.4 MB, free: 42.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2062, allocations: 187.3 kB / 402.5 MB, free: 42.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.2065, allocations: 413.3 kB / 402.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.2073, allocations: 1.05 MB / 404 MB, free: 41.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2073, allocations: 0 / 404 MB, free: 41.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2073, allocations: 0.7812 kB / 404 MB, free: 41.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2074, allocations: 0 / 404 MB, free: 41.78 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001348/0.2087, allocations: 1.038 MB / 405 MB, free: 40.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.2088, allocations: 12.92 kB / 405 MB, free: 40.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2089, allocations: 90.5 kB / 405.1 MB, free: 40.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.2095, allocations: 0.5056 MB / 405.6 MB, free: 40.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.2096, allocations: 53.22 kB / 405.7 MB, free: 40.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.2097, allocations: 51.38 kB / 405.7 MB, free: 40.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.2105, allocations: 0.555 MB / 406.3 MB, free: 40.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2106, allocations: 1.219 kB / 406.3 MB, free: 40.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.2106, allocations: 20.41 kB / 406.3 MB, free: 40.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2106, allocations: 17.06 kB / 406.3 MB, free: 40.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.2115, allocations: 0.5253 MB / 406.9 MB, free: 39.77 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.002675/0.2142, allocations: 2.831 MB / 409.7 MB, free: 37.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.2149, allocations: 439.6 kB / 410.1 MB, free: 36.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.2152, allocations: 211.3 kB / 410.3 MB, free: 36.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.2153, allocations: 97.08 kB / 410.4 MB, free: 36.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2153, allocations: 38.56 kB / 410.5 MB, free: 36.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.2153, allocations: 0 / 410.5 MB, free: 36.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002076/0.2174, allocations: 1.243 MB / 411.7 MB, free: 35.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2174, allocations: 59.41 kB / 411.8 MB, free: 35.3 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.0005915/0.218, allocations: 0.6485 MB / 412.4 MB, free: 34.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2181, allocations: 37.7 kB / 412.4 MB, free: 34.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2182, allocations: 312.2 kB / 412.8 MB, free: 34.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.2183, allocations: 149.8 kB / 412.9 MB, free: 34.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2184, allocations: 98.14 kB / 413 MB, free: 34.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.2185, allocations: 370.8 kB / 413.4 MB, free: 33.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2188, allocations: 157 kB / 413.5 MB, free: 33.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.2191, allocations: 252.2 kB / 413.8 MB, free: 33.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.2218, allocations: 0.942 MB / 414.7 MB, free: 32.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2218, allocations: 0 / 414.7 MB, free: 32.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007803/0.2226, allocations: 0.5429 MB / 415.2 MB, free: 31.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2227, allocations: 4 kB / 415.2 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2227, allocations: 4 kB / 415.3 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2227, allocations: 7.984 kB / 415.3 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.2232, allocations: 115.8 kB / 415.4 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2232, allocations: 8 kB / 415.4 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2234, allocations: 15.98 kB / 415.4 MB, free: 31.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.2235, allocations: 23.98 kB / 415.4 MB, free: 31.53 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002453/0.2237, allocations: 244.5 kB / 415.7 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.2238, allocations: 63.16 kB / 415.7 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.2247, allocations: 0.5301 MB / 416.2 MB, free: 30.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2247, allocations: 7.984 kB / 416.3 MB, free: 30.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2247, allocations: 0 / 416.3 MB, free: 30.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2247, allocations: 0 / 416.3 MB, free: 30.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2262, allocations: 1.233 MB / 417.5 MB, free: 29.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2262, allocations: 0 / 417.5 MB, free: 29.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.2267, allocations: 111.9 kB / 417.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2267, allocations: 0 / 417.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.2267, allocations: 15.98 kB / 417.6 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2268, allocations: 4 kB / 417.6 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2268, allocations: 3.938 kB / 417.6 MB, free: 29.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.2277, allocations: 0.7723 MB / 418.4 MB, free: 28.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.2279, allocations: 188.3 kB / 418.6 MB, free: 28.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.228, allocations: 8 kB / 418.6 MB, free: 28.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2283, allocations: 19.98 kB / 418.6 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.2284, allocations: 24.39 kB / 418.6 MB, free: 28.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.2284, allocations: 19.98 kB / 418.6 MB, free: 28.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.2288, allocations: 467 kB / 419.1 MB, free: 27.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2288, allocations: 0 / 419.1 MB, free: 27.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004885/0.2293, allocations: 179.9 kB / 419.3 MB, free: 27.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.0008304/0.2301, allocations: 441 kB / 419.7 MB, free: 27.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.2308, allocations: 410.2 kB / 420.1 MB, free: 26.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2308, allocations: 3.938 kB / 420.1 MB, free: 26.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.2311, allocations: 218.3 kB / 420.3 MB, free: 26.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/0.2318, allocations: 217.9 kB / 420.5 MB, free: 26.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2334, allocations: 1.417 MB / 422 MB, free: 25.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2337, allocations: 0.933 MB / 422.9 MB, free: 24.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.234, allocations: 121.2 kB / 423 MB, free: 23.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2342, allocations: 59.42 kB / 423.1 MB, free: 23.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2342, allocations: 0 / 423.1 MB, free: 23.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01254/0.2467, allocations: 10.37 MB / 433.4 MB, free: 13.58 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)